Learn R Programming

frailtypack (version 3.4.0)

print.prediction: Print a short summary of results of prediction function.

Description

Print a short summary of results of prediction function.

Usage

# S3 method for predFrailty
print(x, digits = 3, ...)
# S3 method for predJoint
print(x, digits = 3, ...) 
# S3 method for predLongi
print(x, digits = 3, ...)

Arguments

x

An object from the 'prediction' function, objects inheriting from predFrailty, predJoint and predLongi classes.

digits

Number of digits to print

Other unused arguments

Value

Print the probabilities estimated.

See Also

prediction