View source: R/long-grmtree-plot.R
| node_regionplot_longitudinal | R Documentation |
Internal function that generates the terminal node panel function for region plots of longitudinal GRM trees. Extracts only T1 item thresholds (items 1 through n_items) since T2 items have identical constrained parameters.
node_regionplot_longitudinal(
mobobj,
n_items,
names = FALSE,
abbreviate = TRUE,
ylim = NULL,
off = 0.1,
col_fun = grDevices::gray.colors,
bg = "white",
ylines = 2,
...
)
mobobj |
A |
n_items |
Number of items per time point. |
names |
Logical, character vector, or FALSE for labeling. |
abbreviate |
Logical or numeric for name abbreviation. |
ylim |
Optional y-axis limits. |
off |
Offset between items (default: 0.1). |
col_fun |
Color function for response categories (default:
|
bg |
Background color (default: "white"). |
ylines |
Width of y-axis margin in lines (default: 2). |
... |
Additional arguments (unused). |
A panel function suitable for use with
plot.modelparty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.