Description Usage Arguments Value Examples
Standarize data by transforming data to have zero mean and unit variance
1 |
data |
An input data for median absolute deviation |
A data array
1 2 3 4 5 6 7 | guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
guerry_df <- as.data.frame(guerry) # use as data.frame
crm_prs <- guerry_df['Crm_prs'][,1] # get values of variable "crm_prs"
crm_prp <- guerry_df['Crm_prp'][,1] # get values of variable "crm_prp"
data <- list(crm_prs, crm_prp)
standardize(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.