GetOriginGroupingMap {hivEstimatesAccuracy} | R Documentation

## GetOriginGroupingMap

### Description

Get mapping from RegionOfOrigin to GroupOfOrigin

### Usage

    GetOriginGroupingMap(type, distr, groups)

### Arguments

`type` | Grouping type
`distr` | Distribution of RegionOfOrigin
`groups` | Groups

### Examples

    distr <- data.table::data.table(
      FullRegionOfOrigin = c("REPCOUNTRY", "SUBAFR"),
      Count = c(1536, 2237))
    GetOriginGroupingMap(
      type = "REPCOUNTRY + UNK + 3 most prevalent regions + OTHER",
      distr = distr
    )

[Package hivEstimatesAccuracy version 1.10.0 Index]