View source: R/get_FSdata_helpers.R
| dummy_encode | R Documentation |
Dummy-code a data frame (numeric pass-through, factors expanded)
dummy_encode(df)
df |
Data frame with numeric and/or factor columns. |
Data frame with numeric columns unchanged and factor columns
expanded via acm.disjctif.
df <- data.frame(age = c(40, 55, 70), grade = factor(c("1", "2", "3")))
dummy_encode(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.