Correlation mapping for reliability test

Share:

Description

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.

Usage

1
map.corr(data, from = "median", threshold = 0.3, r.name = FALSE)

Arguments

data

Dataframe

from

Datum point from which the distance is measured
"mean" Mean of each column
"median" Median of each column (default)

threshold

Threshold of correlation change to be noted on the map

r.name

Dropped points are shown in row name when TRUE

Value

$reliability

Summary table

Author(s)

Dong-Joon Lim, PhD

See Also

dm.mahalanobis Distance measure using Mahalanobis distance

Examples

1
2
3
4
5
# Generate a sample dataframe
df <- data.frame(replicate(2, sample(0 : 100, 50)))

# go
map.corr(df)