plot_p_a_item.Rd
This function produces a canned ggplot
object.
plot_p_a_item(
pass,
item_var = "item",
items = NULL,
x_var = "agemos",
model_name = "",
...
)
A data.frame
with emperical probabilities per item per month,
with expected columns item
, cohort
, agegp
, p
, a
, n
, equate
and label
.
Only relevant for long shape. Character string with the
name of the column containing item names. The default is item_var = "item"
.
Character vector with item names. If not specified, all columns in the data are included as items (for wide shape) or all items in the item column are included (for long shape).
Variable representing the continuous x-axis (e.g., age in months, or D-score).
A string with the model name, used in the plot title.
Additional parameters passed down to plot_p_a_one_item()
.
List of ggplot
objects