ALASCA initializes an ALASCA model and returns an ALASCA object.
ALASCA(df, formula, effects = NULL, ...)Data frame to be analyzed
Regression formula
Vector with effect terms. If NULL, ALASCA will guess (default)
Either a custom function or string to define scaling function: sdall, sdref, sdt1, sdreft1
Boolean. Separate effects?
Set to TRUE to remove interaction between effects
Boolean. If TRUE, give estimates for robustness
number of validation runs
Choose between bootstrap (default) and "jack-knife"
The column to stratify participants by
Save models and plots automatically (default: FALSE)
File name to save model and plots (when save = TRUE)
Boolean. Defaults to TRUE
Method for correcting p values for multiple testing, see p.adjust.methods
String. Name of the column containing participant identification
Partitions when validating
An ALASCA object
This function builds your ALASCA model. It needs, at least, a data frame and a formula. The effect matrices can be specified with effects, e.g., c("time", "time+group+time:group", "group+time:group").