Skip to contents

Plot Factor score

Usage

FSplot(
  fit,
  type = "histogram",
  hist_bins = 20,
  fill_colour = "grey70",
  base_size = 16
)

Arguments

fit

an object from runGRM

type

a character indicating the type of plots

  • histogram Histogram plot

  • density Density plot

hist_bins

a numeric indicating the number of bins for the histogram

fill_colour

a character indicating the color (default = grey70)

base_size

a numeric indicating the base font size

Value

a ggplot object.

Details

This makes either histogram or density plot for individual factor scores.

Examples

if (FALSE) {
FSplot(fs_scores, type = "histogram", hist_bins = 20, base_size = 16)
FSplot(fs_scores, type = "density", hist_bins = 20, base_size = 16)
}