Description Usage Arguments Value Examples
Create new factor variable by crossing levels in several variables
1 | CrossStrata(by, sep = "-", returnb = FALSE, asNumeric = FALSE, byExtra = NULL)
|
by |
Dataframe or matrix with several variables |
sep |
Used to create new level names |
returnb |
When TRUE an overview of original variabels according to new levels are also retuned. |
asNumeric |
When TRUE the new variable is numeric. |
byExtra |
Contains the same variables as by and represents another data set. |
a |
The new variable |
aExtra |
New variable according to byExtra |
b |
Overview of original variabels according to new levels |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.