Skip to content

Commit

Permalink
Initial CRAN release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eebrown committed Feb 12, 2021
1 parent 7890702 commit 4d92ce0
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# covidprobability 0.1.0

Initial beta release.
Initial beta release. Inital CRAN release.
4 changes: 2 additions & 2 deletions R/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' (see reference).
#'
#' @return Proportion who would not be expected to show symptoms yet
#' @references See McAloon et al. <https://bmjopen.bmj.com/content/10/8/e039652>
#' @references See McAloon et al. <https://bmjopen.bmj.com/content/10/8/e039652/>
#' @export
#'
prop_remaining <- function(t, asympt, mu = 1.63, sigma = 0.5) {
Expand Down Expand Up @@ -46,7 +46,7 @@ prop_remaining <- function(t, asympt, mu = 1.63, sigma = 0.5) {
#' (see reference).
#'
#' @return pretest probability by day (time series)
#' @references See McAloon et al. <https://bmjopen.bmj.com/content/10/8/e039652>
#' @references See McAloon et al. <https://bmjopen.bmj.com/content/10/8/e039652/>
#' @export
#'
adjust_pretest <- function(pre0, asympt, days = 14,
Expand Down
8 changes: 7 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ knitr::opts_chunk$set(
# R package: covidprobability

<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)
<!-- badges: end -->

This package provides the functions, data and documentation that support a
Expand All @@ -31,6 +31,12 @@ An [interactive web app](http://covid.eebc.ca) of this calculator is available.

## Installation

You can install the latest CRAN version of covidprobability from with:

``` r
install.packages("covidprobability")
```

You can install the latest version of covidprobability from [Github](https://github.com/eebrown/covidprobability) with:

``` r
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- badges: start -->

[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)
<!-- badges: end -->

This package provides the functions, data and documentation that support
Expand All @@ -23,6 +23,12 @@ available.

## Installation

You can install the latest CRAN version of covidprobability from with:

``` r
install.packages("covidprobability")
```

You can install the latest version of covidprobability from
[Github](https://github.com/eebrown/covidprobability) with:

Expand Down
2 changes: 1 addition & 1 deletion man/adjust_pretest.Rd

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

2 changes: 1 addition & 1 deletion man/prop_remaining.Rd

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

8 changes: 4 additions & 4 deletions vignettes/unit-example.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ This R package and accompanying Shiny app are available to the public for review

## References

Kucirka LM, Lauer SA, Laeyendecker O, Boon D, Lessler J. Variation in False-Negative Rate of Reverse Transcriptase Polymerase Chain Reaction–Based SARS-CoV-2 Tests by Time Since Exposure. Annals of Internal Medicine. 2020;173(4):262-267. <http://dx.doi.org/10.7326/M20-1495>
Kucirka LM, Lauer SA, Laeyendecker O, Boon D, Lessler J. Variation in False-Negative Rate of Reverse Transcriptase Polymerase Chain Reaction–Based SARS-CoV-2 Tests by Time Since Exposure. Annals of Internal Medicine. 2020;173(4):262-267. <https://dx.doi.org/10.7326/M20-1495>

A. Lauer S, H. Grantz K, Bi Q, et al. The Incubation Period of Coronavirus Disease 2019 (COVID-19) From Publicly Reported Confirmed Cases: Estimation and Application. Annals of Internal Medicine. Published online March 10, 2020. <http://dx.doi.org/10.7326/M20-0504>
A. Lauer S, H. Grantz K, Bi Q, et al. The Incubation Period of Coronavirus Disease 2019 (COVID-19) From Publicly Reported Confirmed Cases: Estimation and Application. Annals of Internal Medicine. Published online March 10, 2020. <https://dx.doi.org/10.7326/M20-0504>

McAloon C, Collins Á, Hunt K, et al. Incubation period of COVID-19: a rapid systematic review and meta-analysis of observational research. BMJ Open. 2020;10(8):e039652. <http://dx.doi.org/10.1136/bmjopen-2020-039652>
McAloon C, Collins Á, Hunt K, et al. Incubation period of COVID-19: a rapid systematic review and meta-analysis of observational research. BMJ Open. 2020;10(8):e039652. <https://dx.doi.org/10.1136/bmjopen-2020-039652>

Yanes-Lane M, Winters N, Fregonese F, et al. Proportion of asymptomatic infection among COVID-19 positive persons and their transmission potential: A systematic review and meta-analysis. PLOS ONE. 2020;15(11):e0241536. <http://dx.doi.org/10.1371/journal.pone.0241536>
Yanes-Lane M, Winters N, Fregonese F, et al. Proportion of asymptomatic infection among COVID-19 positive persons and their transmission potential: A systematic review and meta-analysis. PLOS ONE. 2020;15(11):e0241536. <https://dx.doi.org/10.1371/journal.pone.0241536>

0 comments on commit 4d92ce0

Please sign in to comment.