plot_loadings: Plots of factor loadings

Description Usage Arguments Value

View source: R/plots.R

Description

Plots of factor loadings

Usage

1
2
3
  plot_loadings(x, type = c("heatmap", "credint"),
  sort_order = NA, color = NA, scale_name = "Loading", prob
  = 0.95)

Arguments

x

a bfa model object or a (loadings) matrix

type

either "heatmap" or "credint" (HPD intervals)

sort_order

a permutaion of 1:P (where P is the number of variables) providing sort order for the variables (default is alphabetic)

color

character vector of colors (default Bl-Wh-Rd) (for heatmap)

scale_name

label for the legend (for heatmap)

prob

probability content of HPD interval

Value

a ggplot2 object


bfa documentation built on May 2, 2019, 4:55 p.m.