Remove subjects with too much missing data on a given latent construct

remove_missing(x, factor_list = list(), missing_allowed = 1, id = "Subject")

Arguments

x

dataframe

factor_list

list of factors and tasks. e.g., list(WMC = c("OSpan", "RotSpan", SymSpan"))

missing_allowed

Proportion of tasks allowed to be missing

id

Subject ID variable