select_uni_cases: Select cases based on minimum number of available session...

Description Usage Arguments Value Examples

View source: R/select_cases.R

Description

Select cases based on minimum number of available session scores on one longitudinal measure

Usage

1
select_uni_cases(data, id_var, var_list, min_count, return_id_only = FALSE)

Arguments

data

Dataset in wide format.

id_var

String, specifying id variable.

var_list

Vector, specifying variable names in sequential order.

min_count

Numeric, specifying minimum number of available scores

return_id_only

Logical, if TRUE only return ID. This is needed for select_bi_cases

Value

tibble

Examples

1
2
3
4
select_uni_cases(data_uni_lcsm, 
                 id_var = "id", 
                 var_list = names(data_uni_lcsm)[-1], 
                 min_count = 7)

lcsm documentation built on July 25, 2020, 1:06 a.m.