clean_cases: Keep only complete cases

Description Usage Arguments Details Value See Also Examples

View source: R/clean_cases.R

Description

If a participant has data for more than one session, and you want to keep only participants with complete datasets (i.e. no missing data in either condition), this function will exclude those with any missing values.

Usage

1
clean_cases(df, id, value)

Arguments

df

A dataframe

id

Column with the subject id key

value

Column with the values

Details

DETAILS

Value

A dataframe

See Also

filter

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

medpsytuebingen/medpsytueR documentation built on May 25, 2019, 10:30 p.m.