Truncate or censor data. is.na(rt) not truncated or censored.
make_missing(
data,
LT = 0,
UT = Inf,
LC = 0,
UC = Inf,
LCresponse = TRUE,
UCresponse = TRUE,
LCdirection = TRUE,
UCdirection = TRUE
)
Truncated and censored data frame
Data frame with rt and R columns
lower truncation bound below which data are removed (scalar or subject named vector)
upper truncation bound above which data are removed (scalar or subject named vector)
lower censoring bound (scalar or subject named vector)
upper censoring bound (scalar or subject named vector)
Boolean, default TRUE, if false set LC response to NA
Boolean, default TRUE, if false set UC response to NA
Boolean, default TRUE, set LC rt to 0, else to NA
Boolean, default TRUE, set LC rt to Inf, else to NA