FSplot {GRShiny} | R Documentation |
Plot Factor score
Description
Plot Factor score
Usage
FSplot(
fit,
type = "histogram",
hist_bins = 20,
fill_colour = "grey70",
base_size = 16
)
Arguments
fit |
an object from |
type |
a character indicating the type of plots
|
hist_bins |
a numeric indicating the number of bins for the histogram |
fill_colour |
a character indicating the color (default = |
base_size |
a numeric indicating the base font size |
Details
This makes either histogram or density plot for individual factor scores.
Value
a ggplot
object.
Examples
grm_dt <- genData(eta = genTheta(nsample = 500, nfac = 1),
ipar = genIRTpar(nitem = 10, ncat = 3, nfac = 1))
fit <- runGRM(dat = grm_dt,
lav.syntax = genLavSyn(dat = grm_dt, nfac = 1),
estimator = "WL")
FSplot(fit, type = "histogram", hist_bins = 20, base_size = 16)
[Package GRShiny version 1.0.0 Index]