plot_likert_transform {latent2likert} | R Documentation |
Plot Transformation
Description
Plots the densities of latent variables and the corresponding transformed discrete probability distributions.
Usage
plot_likert_transform(n_items, n_levels, mean = 0, sd = 1, skew = 0)
Arguments
n_items |
number of Likert scale items (questions). |
n_levels |
number of response categories for each Likert item. Integer or vector of integers. |
mean |
means of the latent variables. Numeric or vector of numerics. Defaults to 0. |
sd |
standard deviations of the latent variables. Numeric or vector of numerics. Defaults to 1. |
skew |
marginal skewness of the latent variables. Numeric or vector of numerics. Defaults to 0. |
Value
NULL. The function produces a plot.
Examples
plot_likert_transform(n_items = 3, n_levels = c(3, 4, 5))
plot_likert_transform(n_items = 3, n_levels = 5, mean = c(0, 1, 2))
plot_likert_transform(n_items = 3, n_levels = 5, sd = c(0.8, 1, 1.2))
plot_likert_transform(n_items = 3, n_levels = 5, skew = c(-0.5, 0, 0.5))
[Package latent2likert version 1.2.1 Index]