ALASCA | R Documentation |
ALASCA
initializes an ALASCA model and returns an ALASCA object.
ALASCA(df, formula, effects = NULL, ...)
df |
Data frame to be analyzed |
formula |
Regression formula |
effects |
Vector with effect terms. If |
scale_function |
Either a custom function or string to define scaling function: |
separate_effects |
Boolean. Separate effects? |
equal_baseline |
Set to |
validate |
Boolean. If |
n_validation_runs |
number of validation runs |
validation_method |
Choose between |
stratification_column |
The column to stratify participants by |
save |
Save models and plots automatically (default: |
filename |
File name to save model and plots (when |
use_Rfast |
Boolean. Defaults to |
p_adjust_method |
Method for correcting p values for multiple testing, see p.adjust.methods |
participant_column |
String. Name of the column containing participant identification |
n_validation_folds |
Partitions when validating |
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")
.
An ALASCA object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.