From 6c5416ad08c4b51bb3801cb7a85b7d4ed9f8ee83 Mon Sep 17 00:00:00 2001 From: Marlena Bannick Date: Tue, 3 May 2022 17:09:06 -0700 Subject: [PATCH] fixed examples for generate data --- DESCRIPTION | 2 +- man/generate.data.Rd | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index aee168b..95163dc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -9,7 +9,7 @@ Description: More about what it does (maybe more than one line) License: MIT Encoding: UTF-8 LazyData: false -RoxygenNote: 7.1.1 +RoxygenNote: 7.1.2 Imports: stats, utils, diff --git a/man/generate.data.Rd b/man/generate.data.Rd index de31e3d..0174fc0 100644 --- a/man/generate.data.Rd +++ b/man/generate.data.Rd @@ -64,15 +64,15 @@ and a prevalence and baseline incidence (time 0). } \examples{ set.seed(1) -generate.data(n_sims=3, n=2, infection.function=con.infections, +generate.data(n_sims=3, n=2, infection.function=infections.con, baseline_incidence=0.05, prevalence=0.5, rho=NA, phi.func=function(t) 1 - pgamma(t, 1, 2), times=c(0, 1), summarize=FALSE) -generate.data(n_sims=3, n=100, infection.function=con.infections, +generate.data(n_sims=3, n=100, infection.function=infections.con, baseline_incidence=0.05, prevalence=0.3, rho=NA, phi.func=function(t) 1 - pgamma(t, 1, 2), times=c(0, 1), summarize=TRUE) -generate.data(n_sims=3, n=100, infection.function=con.infections, +generate.data(n_sims=3, n=100, infection.function=infections.con, baseline_incidence=0.05, prevalence=0.3, rho=NA, phi.func=function(t) 1 - pgamma(t, 1, 2), times=c(0), summarize=TRUE)