View source: R/setFactorVariable.R
setFVar | R Documentation |
This function just assigns a factor in the dataset to a variable to be used within a function. If no factor name is specified in the function call, it will choose the dataset's active factor.
setFVar(dataset, factor_name = NULL)
dataset |
Microvis dataset (mvdata object) |
factor_name |
(Optional) Name of the desired factor |
Factor variable (a list object) with its name, groups, subsetted groups, and print-friendly name (spaces instead of underscores)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.