]> nmode's Git Repositories - Rnaught/blob - man/WP_known.Rd
Include required functions from 'stats' package
[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 the maximum likelihood estimator of R0.
16 }
17 \description{
18 This is a background/internal function called by \code{WP}. It computes the maximum
19 likelihood estimator of R0 assuming that the serial distribution is known and finite discrete.
20 }
21 \keyword{internal}