Learn R Programming

Path.Analysis (version 0.1)

heat_map: Creating the Heatmap chart

Description

[Stable]

  • heat_map() draws a double-clustered heatmap for path coefficients analysis. Please be cautious that this function acts only on numeric variables/columns (see example on dtraw2 data set). Users for drawing other types of heatmaps may use heatmap.3, ComplexHeatmap and pheatmap R packages. Where an example is given in the vignette manual of this package (Path.Analysis_manual.Rmd)

Usage

heat_map(datap)

Value

Returns an object of class heatmap.2.

Arguments

datap

The data set

Author

Ali Arminian abeyran@gmail.com

See Also

lavaan and diagram packages for drawing path diagrams.

Examples

Run this code
# \donttest{
data(dtraw2)
dtraw2 <- scale(as.data.frame(dtraw2))
heat_map(dtraw2)
# }

Run the code above in your browser using DataLab