View source: R/remove_latent.R
remove_latent | R Documentation |
This function will remove subjects based on amount of missing data per latent construct
remove_latent( x, factor.list, missing.allowed, id, output.dir = NULL, output.file = NULL )
x |
dataframe |
factor.list |
list of factors and tasks. ex. 'list(WMC = c("OSpan", "RotSpan", SymSpan"), Gf = c("RAPM", "NumberSeries", "LetterSets"))' |
missing.allowed |
Proportion of tasks allowed to be missing |
id |
Subject ID variable |
output.dir |
File directory to save removed subjects to |
output.file |
File name to save removed subjects to |
# Example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.