summaryrefslogtreecommitdiff
path: root/man/WP_known.Rd
diff options
context:
space:
mode:
authorhannajankowski <hkj@yorku.ca>2022-07-29 10:47:02 -0400
committerGitHub <noreply@github.com>2022-07-29 10:47:02 -0400
commit16b8e23ecb7810df3592349bb8fbdf91f5f89b79 (patch)
tree3ee6119264134d3c71d87229e3096162821d677f /man/WP_known.Rd
parentbe65e75a3ff68b6bf73e9c937c58a783b114fd9f (diff)
Add files via upload
Diffstat (limited to 'man/WP_known.Rd')
-rw-r--r--man/WP_known.Rd19
1 files changed, 19 insertions, 0 deletions
diff --git a/man/WP_known.Rd b/man/WP_known.Rd
new file mode 100644
index 0000000..92f3859
--- /dev/null
+++ b/man/WP_known.Rd
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/WP_known.R
+\name{WP_known}
+\alias{WP_known}
+\title{WP method background function WP_known}
+\usage{
+WP_known(NT, p)
+}
+\arguments{
+\item{NT}{vector of case counts}
+
+\item{p}{discretized version of the serial distribution}
+}
+\value{
+The function returns \code{Rhat}, the maximum likelihood estimator of R0.
+}
+\description{
+This is a background/internal function called by \code{WP}. It computes the maximum likelihood estimator of R0 assuming that the serial distribution is known and finite discrete.
+}