DA_condition: function to decide whether data should be augmented for a...

View source: R/households.R

DA_conditionR Documentation

function to decide whether data should be augmented for a cluster

Description

function to decide whether data should be augmented for a cluster

Usage

DA_condition(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

TRUE if the data should be augmented, FALSE otherwise


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