View source: R/fillMissingSexObservations.R
fillMissingSexObservations | R Documentation |
Utility function to fill in missing missing conbinations between sex and another group variable
fillMissingSexObservations(.data, .group, groupLabels)
.data |
dataframe containing group column to check |
.group |
column, string - group labels to check |
groupLabels |
vector - labels to check for membership useful when the source dataframe is missing a required group ex(Group A vs Group B) |
returns completed dataframe with 0 filled in for missing combinations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.