Skip to content

Commit

Permalink
updated documentation for q
Browse files Browse the repository at this point in the history
  • Loading branch information
mbannick committed Nov 17, 2021
1 parent 3a7b12b commit 3268853
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions R/estimators.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ var.log.to.var <- function(estimate, variance) (estimate ** 2) * variance
#' @param n Total number of observations (\eqn{n_n + n_p = n})
#' @param mu Mean window period (in years, not days)
#' @param mu_var Variance of the estimator for mean window period.
#' @param q Fraction of positives that were given recency test, defaults to 1
#' If \eqn{\mu} is known, input 0.
#' @return Returns a list of the estimate and the variance for \eqn{\lambda}.
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/external-study-sim.R
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ assay.properties.est <- function(study, bigT, tau, last_point=TRUE){
#'
#' The external study data for mean window and MDRI is available here from
#' Duong et al. 2015:
#' # https://doi.org/10.1371/journal.pone.0114947.s001
#' https://doi.org/10.1371/journal.pone.0114947.s001
#'
#' @export
#' @param n_sims Number of simulations
Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ pandoc: 2.10.1
pkgdown: 1.6.1
pkgdown_sha: ~
articles: {}
last_built: 2021-11-17T00:12Z
last_built: 2021-11-17T00:19Z

4 changes: 2 additions & 2 deletions docs/reference/assay.properties.nsim.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/reference/get.snapshot.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/assay.properties.nsim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/get.snapshot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3268853

Please sign in to comment.