CorrMixed (version 0.1-13)

Heatmap: 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.

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

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataCamp Workspace