View source: R/build_l1_models.R
build_l1_models | R Documentation |
Interactive function to build an l1 model specification for setup_glm_pipeline
build_l1_models(
gpa = NULL,
trial_data = NULL,
l1_model_set = NULL,
from_spec_file = NULL,
onset_cols = NULL,
onset_regex = ".*(onset|time).*",
duration_cols = NULL,
duration_regex = ".*duration.*",
value_cols = NULL,
value_regex = NULL,
isi_cols = NULL,
isi_regex = "^(iti|isi).*"
)
gpa |
a |
trial_data |
a data.frame containing trial-level data for one or more subjects |
l1_model_set |
optional existing l1_model_set to be modified |
from_spec_file |
optional YAML or JSON file containing settings to populated into l1 models |
onset_cols |
an optional character vector of columns in |
onset_regex |
an optional PCRE-compatible regular expression for identifying potential
event onset columns in |
duration_cols |
an optional character vector of columns in |
duration_regex |
an optional PCRE-compatible regular expression for identifying potential
event duration columns in |
value_cols |
an optional character vector of columns in |
value_regex |
an optional PCRE-compatible regular expression for identifying potential
event value columns in |
isi_cols |
an optional character vector of columns in |
isi_regex |
an optional PCRE-compatible regular expression for identifying potential
isi/iti columns in |
if gpa
is not passed in, then we will work from trial_data and l1_model_set.
a l1_model_set
object containing events, signals, and models, compatible with build_design_matrix
Michael Hallquist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.