plot_model {autohrf} | R Documentation |
plot_model
Description
Plots a manually constructed model.
Usage
plot_model(
model_evaluation,
by_roi = FALSE,
ncol = NULL,
nrow = NULL,
scales = "free_y",
rois = NULL
)
Arguments
model_evaluation |
The output from the evaluate_model function. |
by_roi |
Whether to plot the fit for each ROI independently. |
ncol |
Number of columns in the facet wrap. |
nrow |
Number of rows in the facet wrap. |
scales |
Whether to free certain axes of the facet wrap. |
rois |
A subset of ROIs to visualize. |
Value
A ggplot visualization of the model.
Examples
# prepare model specs
model3 <- data.frame(event = c("encoding", "delay", "response"),
start_time = c(0, 2.65, 12.5),
duration = c(2.65, 9.85, 3))
[Package autohrf version 1.1.3 Index]