select_bi_cases | R Documentation |
Select cases based on minimum number of available session scores on two longitudinal measures
select_bi_cases(data, id_var, var_list_x, var_list_y, min_count_x, min_count_y)
data |
A data frame in "wide" format, i.e. one column for each measurement point and one row for each observation. |
id_var |
String, specifying id variable. |
var_list_x |
Vector, specifying variable names of construct X in sequential order. |
var_list_y |
Vector, specifying variable names of construct Y in sequential order. |
min_count_x |
Numeric, specifying minimum number of available scores for construct X. |
min_count_y |
Numeric, specifying minimum number of available scores for construct Y. |
tibble
select_bi_cases(data_bi_lcsm, id_var = "id", var_list_x = names(data_bi_lcsm)[2:11], var_list_y = names(data_bi_lcsm)[12:21], min_count_x = 7, min_count_y = 7 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.