Description Usage Arguments Value Author(s) Examples
Select the subset of persons who have a specified number of observations in the CANS dataframe
1 | select_persons(cans, observations, person.id = 2)
|
cans |
cans is a CANS dataframe |
observations |
observations is a vector of integers which are the desired number of observations; could be a single integer, a range, or any set of values |
person.id |
person.id is an integer, the column number of the person identifier |
Returns a dataframe where the first column is a character vector of person identifiers, and the second column is the number of observatrions associated with each person. Ordered by decreasing number of observations.
Jack Simons <jack.simons@state.ma.us>
1 | # none now
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.