map.corr: Correlation mapping for reliability test

Description Usage Arguments Value Author(s) See Also Examples

View source: R/map.corr.R

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)

DJL documentation built on May 19, 2017, 4:20 p.m.

Search within the DJL package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.