R/package-init.R

#' @import dplyr
#' @import tidyselect
#' @importFrom stats dpois quantile rpois dbinom weighted.mean predict
#' @importFrom reldist wtd.quantile
#' @importFrom splines bs
#' @importFrom tibble is_tibble tibble
#' @importFrom vetiver vetiver_create_description vetiver_ptype vetiver_create_ptype handler_startup handler_predict vetiver_create_meta vetiver_type_convert vetiver_meta
#' @importFrom hardhat scream
#' @importFrom vctrs vec_ptype
NULL

#' Sample Patient Characteristics Inputs
#'
#' A dataset containing sample patient characteristics to run the prediction model
#'  variables are as follows:
#'
#' \itemize{
#'   \item ID. A unique character string identifying a patients
#'   \item male. whether the patient is male
#'   \item age. the age of the patient (40--90)
#'   \item smoker. whether the patient is currently a smoker
#'   \item oxygen. whether the patient has had supplemental oxygen therapy within the past year (0,1)
#'   \item FEV1. forced expiratory volume in 1 second in percent predicted
#'   \item BMI. body mass index (10--60)
#'   \item SGRQ. St. George’s Respiratory Questionnaire score (0--100)
#'   \item statin. whether the patient is taking statins due to cardiovascular conditions
#'   \item LAMA. whether the patient is on long acting muscarinic antagonist
#'   \item LABA. whether the patient is on long acting beta agonist
#'   \item ICS. whether the patient is on inhaled corticosteroids
#'   \item LastYrExacCount. total number of exacerbations in the previous year
#'   \item LastYrSevExacCount. number of severe exacerbations in the previous year
#' }
#'
#' @docType data
#' @keywords datasets
#' @name samplePatients
#' @format A data frame with 2 rows and 19 variables
NULL
resplab/accept documentation built on July 5, 2023, 2:25 p.m.