convert_data_table_to_list: Convert data to list

Description Usage Arguments Value

View source: R/model.R

Description

Given a table of data (like fluscape), converts this into a list for use in MCMC

Usage

1
2
convert_data_table_to_list(dat, nstrains = 3, n_samples = 2,
  strainNames = c("A", "B", "C"))

Arguments

dat

data frame of the data to be converted

nstrains

Number of strains

n_samples

number of time samples

strainNames

vector of strain names

Value

a list of the data


jameshay218/serosim2 documentation built on Nov. 29, 2017, 6:21 p.m.