View source: R/stratify_data.R
stratify_data | R Documentation |
This function stratifies the working data set into either quantiles or user defined bins
stratify_data(wdata, stratify_on, strata = 4)
wdata |
a data frame passed to function containing necessary data for analysis |
stratify_on |
column name to identify the variable to stratify on |
strata |
a string or vector to define how strata should be defined.Defaulted to 4 bins or quartiles. |
returns
stratify_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.