map.corr | R Documentation |
Implements a series of correlation analysis by dropping extreme data points one by one using Mahalanobis distance measure. Correlation reliability can be investigated with identified anchoring point(s). Correlation map as well as summary table is provided.
map.corr(data, from = "median", threshold = 0.3, r.name = FALSE)
data |
Dataframe |
from |
Datum point from which the distance is measured |
threshold |
Threshold of correlation change to be noted on the map |
r.name |
Dropped points are shown in row name when |
$reliability |
Summary table |
Dong-Joon Lim, PhD
dm.mahalanobis
Distance measure using Mahalanobis distance
# Generate a sample dataframe
df <- data.frame(replicate(2, sample(0 : 100, 50)))
# go
map.corr(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.