| plot_data_components | R Documentation |
plot_data_components() is a companion to plot_data(). It returns a
compact table that tells users which plot-data components are available,
what shape they have, and which ones are most useful for custom graphics,
dashboards, or report assembly.
plot_data_components(x, type = NULL, ...)
x |
An |
type |
Optional plot type passed to |
... |
Additional arguments passed to |
A data frame with one row per reusable plot-data component.
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score", maxit = 30)
plot_data_components(fit, type = "pathway")
curves <- category_curves_report(fit, theta_points = 51)
plot_data_components(curves, type = "category_probability")
toy$ResponseTime <- 10 + seq_len(nrow(toy)) %% 6 + as.numeric(toy$Score)
rt <- response_time_review(
toy,
person = "Person",
facets = c("Rater", "Criterion"),
score = "Score",
time = "ResponseTime"
)
plot_data_components(plot_response_time_review(rt, draw = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.