augment_data: function to augment data

View source: R/households.R

augment_dataR Documentation

function to augment data

Description

function to augment data

Usage

augment_data(data)

Arguments

data

data frame with a single row, containing the columns "time.onset.donor": the observed time of symptom onset for the donor; "recipient.infected": 1 if the recipient was infected, 0 if not; "time.infection.recipient": the inferred time at which the recipient was infected; "time.onset.recipient": the observed time of symptom onset for the recipient

Value

the same data frame but with a newly generated value for time.infection.recipient


c97sr/learnidd documentation built on Jan. 12, 2025, 4:24 p.m.