Heatmap: Plot a heatmap of the correlation structure

Description Usage Arguments Author(s) References See Also Examples

View source: R/Heatmap.R

Description

This function plots a heatmap of the correlation structure (reliability) in the data. It is a wrapper function for the cor.plot function of the psych package.

Usage

1
Heatmap(Dataset, Id, Outcome, Time, ...)

Arguments

Dataset

A data.frame that should consist of multiple lines per subject ('long' format).

Id

The subject indicator.

Outcome

The outcome indicator.

Time

The time indicator.

...

Other arguments to be passed to cor.plot.

Author(s)

Wim Van der Elst, Geert Molenberghs, Ralf-Dieter Hilgers, & Nicole Heussen

References

Van der Elst, W., Molenberghs, G., Hilgers, R., & Heussen, N. (2015). Estimating the reliability of repeatedly measured endpoints based on linear mixed-effects models. A tutorial. Submitted.

See Also

plot.Explore.WS.Corr

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Open data
data(Example.Data)

# Make heatmap
Heatmap(Dataset=Example.Data, Id = "Id", 
Outcome="Outcome", Time = "Time")

# Make heatmap in black and white
Heatmap(Dataset=Example.Data, Id = "Id", 
Outcome="Outcome", Time = "Time", colors=FALSE)

Example output

Loading required package: nlme

CorrMixed documentation built on May 2, 2019, 3:26 p.m.