Description Usage Arguments Details Value Author(s)
Select groups (families)
1 | select_fams(data, prop = 0.75, group, verbose = F)
|
data |
dataframe as returned by prepare data |
prop |
proportion of families to be sampled |
group |
name of the group variable (character) if not "group", ignored |
verbose |
if TRUE information about sample size is printed out |
function selects a given proportion of groups/families from the data
if no grouping variable is given the original data set is returned
function is called inside do_iterations
and may not called directly
dataframe containing only prop.fam percent the families in data
Mandy Vogel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.