Skip to content

Commit

Permalink
Address CRAN comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkschumacher committed Mar 22, 2019
1 parent 23e22b1 commit 2e6940b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 40 deletions.
12 changes: 0 additions & 12 deletions R/prevalence.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
#' for stratified analysis.
#'
#' @examples
#' \dontrun{
#' library(anthro)
#'
#' # compute the prevalence estimates for 100 random children
Expand All @@ -80,17 +79,6 @@
#' # note that we only generated data for one age group
#' res
#'
#' # usually however your data is stored in a data.frame
#' # and you pass the specific columns directly to the function
#' data <- read.csv("<your data.csv>", stringsAsFactors = FALSE)
#' anthro_prevalence(
#' sex = data$sex,
#' age = data$age,
#' weight = data$weight,
#' lenhei = data$height
#' )
#' }
#'
#' @return Returns a data.frame with prevalence estimates for the various
#' groups.
#'
Expand Down
3 changes: 1 addition & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

* This is a resubmission:

* Description now starts with "Provides"
* Added a larger example to `anthro_prevalence`
* `anthro_prevalence` examples are not wrapped in `\dontrun` anymore

## Reverse dependencies

Expand Down
37 changes: 23 additions & 14 deletions docs/reference/anthro_prevalence.html

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

12 changes: 0 additions & 12 deletions man/anthro_prevalence.Rd

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

0 comments on commit 2e6940b

Please sign in to comment.