Description Usage Arguments Value
Creates a dataframe with .id and segment, from the name of a factor column of the test frame.
1 | set_segments(col_names, id_names, test_data)
|
col_names |
'character()' |
id_names |
'character()' |
test_data |
'data.frame()' |
'data.frame()'
Data frame with id_names and "segment".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.