Error message when running ggsurvplot

My project is located here: (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!


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