lmm_analysis {MariNET} | R Documentation |
Perform Longitudinal Analysis with Linear Mixed Models (LMM)
Description
This function automates the analysis of longitudinal clinical data using linear mixed models. It models clinical variables and returns a weighted matrix of model coefficient scores.
Usage
lmm_analysis(
clinical_data,
variables_to_scale,
random_effects = "(1 | participant_id)"
)
Arguments
clinical_data |
Dataframe containing clinical and metadata for participants, including identifier as |
variables_to_scale |
Character vector of variable names to be analyzed. |
random_effects |
A character string specifying the random effects formula (default: "(1 | participant_id)"). |
Value
A matrix of model coefficient scores, where rows represent dependent variables and columns represent independent variables.
[Package MariNET version 1.0.0 Index]