Skip to content

Error with survit! #12

@lyton8000

Description

@lyton8000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions