Description Usage Arguments Value Note
This function is used for a naieve demographic profile of each category within a scored and categorized model. It returns a matrix of size M x (7*num.groups). The values within a simply the sum of each column for each category within each group (as data is binary).
1 | demographic_profile(object, ...)
|
x |
A 'model_scores' object (i.e. the output from
|
data |
The raw data initially used to fit the model containing all variables. |
Matrix containing the sums of each column within each category of each group.
The 'data' parameter may also be a subset of columns which contains only the variables of interest. However, the subset must still contain the dependent variables. This is used as an internal check to make sure only data for the specific model is evaluated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.