validFactor | R Documentation |
Function for checking factors to make sure they are valid for analysis. If the currently active factor only has 1 group, a new active factor will be chosen.
validFactor(dataset, factor_name = NULL)
dataset |
MicroVis dataset (mvdata object) |
factor |
Candidate factor to switch to. |
Dataset with a new active factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.