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

Error with survit! #12

Open
lytopn80 opened this issue Oct 16, 2016 · 3 comments
Open

Error with survit! #12

lytopn80 opened this issue Oct 16, 2016 · 3 comments

Comments

@lytopn80
Copy link

I am getting:

Error in UseMethod("comp") :
no applicable method for 'comp' applied to an object of class "survfit"

This is my code:
library(survMisc)
fit = survfit(Surv(inftime, inf) ~ trt,data = burn)
comp(fit)$tests$lrTests

What is the possible issue?

Thanks.

@Duskinmist
Copy link

I got the same problem

@lytopn80
Copy link
Author

I am getting this error when loading SurMisc to the workspace:
Error: package or namespace load failed for ‘survMisc’

@ammubharatram
Copy link

Me too, did you guys get a solution to this?

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

3 participants