Skip to content

Commit

Permalink
clarified in docs that age is not used in calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
eebrown committed Sep 25, 2019
1 parent 307e23f commit 8dec24c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/convert.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ check_route <- function(x, route_label) {
#' @family checking functions
#' @examples
#' participant_ID <- c("P01", "P02", "P03", "P04")
#' age <- c(42, 29, 30, 60)
#' age <- c(42, 29, 30, 60) # not used in calculation, just shows other data
#' # can exist in the data.frame
#' antipsychotic <- c("olanzapine", "olanzapine", "quetiapine", "ziprasidone")
#' dose <- c(10, 12.5, 300, 60)
#' example_oral <- data.frame(participant_ID, age, antipsychotic, dose,
Expand Down Expand Up @@ -213,7 +214,8 @@ check_ap <- function(x, key=chlorpromazineR::gardner2010, ap_label, route,
#' @family conversion functions
#' @examples
#' participant_ID <- c("P01", "P02", "P03", "P04")
#' age <- c(42, 29, 30, 60)
#' age <- c(42, 29, 30, 60) # not used in calculation, just shows other data
#' # can exist in the data.frame
#' antipsychotic <- c("olanzapine", "olanzapine", "quetiapine", "ziprasidone")
#' dose <- c(10, 12.5, 300, 60)
#' example_oral <- data.frame(participant_ID, age, antipsychotic, dose,
Expand Down
3 changes: 2 additions & 1 deletion man/check_ap.Rd

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

3 changes: 2 additions & 1 deletion man/to_ap.Rd

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

0 comments on commit 8dec24c

Please sign in to comment.