sample_trans: Randomly sample a transmission data.frame without any...

Description Usage Arguments Value Examples

Description

Each run we will ramdomly choose 'pairs' of the possible transmission pairs from data smoothing every 2

Usage

1
sample_trans(data, runs, pairs, test = F)

Arguments

data

data frame on which to sample. contains freq1 and freq2

runs

The number of times to sample

pairs

The number of pairs to include in each run.

test

A boolean switch. If activatve returns a list of 2 tibbles. The first is the last sample_data tibble the second is the normal output

Value

a data frame with columns freq1, trial, and probability of transmission.

Examples

1

jtmccr1/HIVEr documentation built on May 29, 2019, 1:50 a.m.