remove_missing: Subject Missing Data Removal

View source: R/remove_missing.R

remove_missingR Documentation

Subject Missing Data Removal

Description

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

Usage

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


EngleLab/englelab documentation built on Sept. 9, 2024, 4:12 a.m.