]> nmode's Git Repositories - Rnaught/blob - man/WP_known.Rd
Add files via upload
[Rnaught] / man / WP_known.Rd
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/WP_known.R
3 \name{WP_known}
4 \alias{WP_known}
5 \title{WP method background function WP_known}
6 \usage{
7 WP_known(NT, p)
8 }
9 \arguments{
10 \item{NT}{vector of case counts}
11
12 \item{p}{discretized version of the serial distribution}
13 }
14 \value{
15 The function returns \code{Rhat}, the maximum likelihood estimator of R0.
16 }
17 \description{
18 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.
19 }