generateHostKDist_2: Generate distribution of host immunity

Description Usage Arguments Value See Also

View source: R/antigenic_drift.R

Description

Given a vector of host immune values (K), creates a frequency distribution and then draws N samples to give a new host immunity distribution.

Usage

1

Arguments

hostKs

vector of K values

N

number of samples to generate

Value

a vector of random K values of size N

See Also

generateHostKDist


jameshay218/driftSim documentation built on Jan. 24, 2020, 6:14 p.m.