View source: R/DataReformatting.R
split_string_categories_to_dummy | R Documentation |
Many RHoMIS columns come in the format c("cropA cropB cropC", "cropD cropA"). This function helps split these into more interperatable dummy columns
split_string_categories_to_dummy(x, seperator)
x |
A vector which needs to be split |
seperator |
The separating character |
Rpackage file: DataReformatting.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.