From 959c6dfecf46ea3f71f1748cc09bf86e18a910d3 Mon Sep 17 00:00:00 2001 From: anobel Date: Mon, 2 May 2016 11:44:34 -0700 Subject: [PATCH] rename DF in example --- R/comorbid.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/comorbid.R b/R/comorbid.R index 83083d2d..ca75309b 100644 --- a/R/comorbid.R +++ b/R/comorbid.R @@ -89,7 +89,7 @@ icd9PoaChoices <- icd_poa_choices #' pts <- icd_long_data(visit_name = c("2", "1", "2", "3", "3"), #' icd9 = c("39891", "40110", "09322", "41514", "39891")) #' icd_comorbid(pts, icd9_map_ahrq, short_code = TRUE) # visit_name is now sorted -#' pt_hccs <- icd_comorbid_hcc(pt, date) +#' pt_hccs <- icd_comorbid_hcc(ptdata, date) #' @export icd_comorbid <- function(x, map, ...) {