Description Usage Arguments Examples
View source: R/GetOriginGroupingMap.R
Get mapping from RegionOfOrigin to GroupOfOrigin
1 | GetOriginGroupingMap(type, distr, groups = NULL)
|
type |
Grouping type |
distr |
Distribution of RegionOfOrigin |
groups |
Groups |
1 2 3 4 5 6 7 | distr <- data.table::data.table(
FullRegionOfOrigin = c("REPCOUNTRY", "SUBAFR"),
Count = c(1536, 2237))
GetOriginGroupingMap(
type = "REPCOUNTRY + UNK + 3 most prevalent regions + OTHER",
distr = distr
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.