identify: Replace integers in outbreaker2 output with unique...

View source: R/identify.R

identifyR Documentation

Replace integers in outbreaker2 output with unique identifiers

Description

Replace integers in outbreaker2 output with unique identifiers

Usage

identify(out, ids)

Arguments

out

A data frame of class outbreaker_chains.

ids

A vector of IDs from the original linelist (see outbreaker2::outbreaker_data()).

Value

A data frame of class outbreaker_chains with integers replaced by the corresponding IDs.

Examples

identify(out, id = linelist$name)


o2ools documentation built on June 8, 2025, 10:18 a.m.