Heatmap {CorrMixed}R Documentation

Plot a heatmap of the correlation structure

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

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

# 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)

[Package CorrMixed version 1.1 Index]