Description Usage Arguments Value Author(s) References Examples
Scrubs SAPA of duplicate participants. Also returns a clean SAPA dataframe containing ages within min.age and max.age.
1 | clean.sapa(x, max.age = 91, min.age = 13, age=TRUE, unique=TRUE)
|
x |
SAPA data.frame to scrub |
max.age |
Maximum age desired |
min.age |
Minimum age desired |
age |
Logical to scrub bad ages |
unique |
Logical to scrub duplicate participants |
data.frame |
Returned SAPA data.frame |
Jason A. French jason@sapa-project.org and David M. Condon
Maintainer: Jason A. French
http://sapa-project.org/r
1 2 3 4 5 | # con.active <- sapa.db()
# sapa.table <- get.sapa(con=con.active)
# clean.table <- clean.sapa(sapa.table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.