Description Usage Arguments Value Examples
generate sfpca models with different parameters
1 | invariants(data, unique_subject_id, time_name, var_name = NULL)
|
data: |
A data frame with subject id, time and variables |
unique_subject_id: |
A column name corresponding to unique subject id in the data (string) |
time_name: |
A column name corresponding to time variable |
var_name: |
A vector of interested variable name, default is null |
A vector of column names in data that do not change with time variable
1 2 | data("ECAM")
invariants(ECAM, 'studyid', 'month_of_life')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.