Learn R Programming

NADA (version 1.6-1.1)

cenfit-class: Class "cenfit"

Description

A cenfit object is returned from the NADA cenfit function.

Arguments

Slots

survfit:

Object of class survfit returned from the survfit function.

Methods

[

signature(x = "cenfit", i = "numeric", j = "missing"): ...

mean

signature(x = "cenfit"): ...

median

signature(x = "cenfit"): ...

plot

signature(x = "cenfit", y = "ANY"): ...

predict

signature(object = "cenfit"): ...

print

signature(x = "cenfit"): ...

quantile

signature(x = "cenfit"): ...

sd

signature(x = "cenfit"): ...

summary

signature(object = "cenfit"): ...

See Also

cenfit

Examples

Run this code
# NOT RUN {
    obs      = c(0.5,    0.5,   1.0,  1.5,   5.0,    10,   100)
    censored = c(TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE)

    class(cenfit(Cen(obs, censored)))
# }

Run the code above in your browser using DataLab