Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Can't find function cat_trauma" #23

Open
brsinco opened this issue Aug 30, 2022 · 1 comment
Open

"Can't find function cat_trauma" #23

brsinco opened this issue Aug 30, 2022 · 1 comment

Comments

@brsinco
Copy link

brsinco commented Aug 30, 2022

R is giving me the error message, "Can't find function cat_trauma" when I to use cat_trauma.
Is there anything wrong with my R code below?

install.packages("devtools")
devtools::install_github("ablack3/icdpicr")
library(icdpicr)
help(package=icdpicr)

df9<-read.csv("HRS_Test_ICD9_To_R.csv", stringsAsFactors = FALSE)

df9_out<-cat_trauma(df9, dx_pre="dx", icd10 = FALSE)

@brsinco
Copy link
Author

brsinco commented Aug 30, 2022

I found the solution. At the beginning of the program, only use library(icdpicr), but do not re-run install.packages("devtools") and
devtools::install_github("ablack3/icdpicr").

Please cancel my request for help. I have what I need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant