event_model()
has been completely revised for consistency and clarity. term_tag
+ _
+ condition_tag
+ [_b##
basis suffix].term_tag
: Automatically generated from variable names (e.g., var1_var2
) or user-provided id=
in hrf()
, sanitized (dots become underscores), and made unique with #
suffix if needed (e.g., cond
, cond#1
).condition_tag
: Represents factor levels (e.g., Factor.Level
), continuous basis columns (e.g., poly_RT_01
, z_RT
), or interactions joined by _
(e.g., Factor.Level_poly_RT_01
)._b##
: Optional suffix added only when the HRF has multiple basis functions (e.g., _b01
, _b02
).style
argument ("compact"
, "qualified"
, "uid"
) in design_matrix()
is removed. Only the single canonical format is produced.Var[Level]
, Var:Level
, :basis[]
) will need to be updated to use the new term_tag_Condition.Tag_b##
format.Reg
for representing regressors.regressor()
function now uses Reg
internally but maintains backward compatibility (returns class c("regressor", "Reg", "list")
).single_trial_regressor()
and null_regressor()
in favour of using regressor()
directly.evaluate.Reg
S3 method, supporting different calculation methods ("fft", "conv", "loop", "Rconv").evaluate.HRF
for HRF sampling.evaluate_regressor_cpp
).fastevalreg
, fastevalreg2
, conform_len
, dots
).autoplot.Reg
(ggplot2) and print.Reg
(cli) methods, deprecating older plot.regressor
and print.regressor
.regressor()
arguments using vctrs
.evaluate.Reg
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.