plot_lsr: Heatmap Plot of the mixedLSR Coefficient Matrices

View source: R/plot_lsr.R

plot_lsrR Documentation

Heatmap Plot of the mixedLSR Coefficient Matrices

Description

Heatmap Plot of the mixedLSR Coefficient Matrices

Usage

plot_lsr(a, abs = TRUE)

Arguments

a

A coefficient matrix from mixed_lsr model.

abs

A boolean for taking the absolute value of the coefficient matrix.

Value

A ggplot2 heatmap of the coefficient matrix, separated by subgroup.

Examples

simulate <- simulate_lsr()
plot_lsr(simulate$a)

mixedLSR documentation built on Nov. 10, 2022, 6:17 p.m.