summaryrefslogtreecommitdiff
path: root/man/WP_known.Rd
blob: 92f3859d972cbc4371a19a929db25c49ac022950 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.
}