Error message when running ggsurvplot

My project is located here: https://rstudio.cloud/project/579466 (see Lab8.rmd)

I am running a Cox proportional hazard model. When I try to run the plot at the very end (ggsurvplot), I receive the following error message:

Error: object of type 'symbol' is not subsettable

When I run this code using RStudio Pro, it works just fine. Any thoughts why Cloud would not be able to run this? Thank you in advance!

Greg

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.