db.normalize {RGeoS}R Documentation

Normalize a set of variables

Description

Normalize a set of variables

Usage

db.normalize(db, names=NA, ngrep=NA, oper = "prop", norme = NA, 
radix = NA, modify.target = TRUE)

Arguments

db

The db-class structure where the variables are stored

names

List of the names of the attributes to be normalized

ngrep

Generic name for the attributes. If defined, it overwrites the 'names' argument

oper

The code giving the type of normalization to be performed:

  • "mean" : Normalize the mean of each variable

  • "stdv" : Normalize the standard deviation of each variable

  • "prop" : Normalize the variables as proportions

norme

Defines the value for the mean or the standard deviation of the normalized variable

radix

Radix of the name given to the variables storing the results in the target Db.

modify.target

When TRUE, the simulation results are set as new target variables in the output DB.

Value

The target Db where the following variables have been added: - as many variables as input variables


[Package RGeoS version 9.1.1 Index]