print.survPresmooth {survPresmooth}R Documentation

Print a survPresmooth Object

Description

Print method for ‘survPresmooth’ objects.

Usage

## S3 method for class 'survPresmooth'
print(x, long = FALSE, more = NULL,
...)

Arguments

x

An object of class 'survPresmooth'.

long

A logical value. If TRUE the entire estimated curve is printed; if FALSE, the default, only the head of the estimated curve is printed if it consists of more than 100 values.

more

A character vector specifying the names of additional components of the x object that will be printed. The valid values for the components of the character vector are "data", "q.weight", "mise", "grid.pil", "pilot.bw", "grid.bw" and "p.hat". The default is NULL.

...

Optional arguments for the default method (i.e., print.default) of the print generic function.

Author(s)

Ignacio Lopez-de-Ullibarri [aut, cre], Maria Amalia Jacome [aut]

See Also

presmooth

Examples

## Not run: 
## Printing an object of class 'survPresmooth' with 4 digits, including
## in the output the value of the pilot bandwidth and the estimated p
## function

print(presmooth(t, delta, pscheck), more = c("pilot.bw", "p.hat"),
digits = 4)

## End(Not run)

[Package survPresmooth version 1.1-11 Index]