print.Ocens: print Method for Ocens Objects

View source: R/Ocens.r

print.OcensR Documentation

print Method for Ocens Objects

Description

print Method for Ocens Objects

Usage

## S3 method for class 'Ocens'
print(x, ivalues = FALSE, digits = 5, ...)

Arguments

x

an object created by Ocens

ivalues

set to TRUE to print integer codes instead of character levels when original data were factors or character variables

digits

number of digits to the right of the decimal place used in rounding original levels when ivalues=FALSE

...

ignored

Value

nothing

Examples

Y <- Ocens(1:3, c(1, Inf, 3))
Y
print(Y, ivalues=TRUE)  # doesn't change anything since were numeric

rms documentation built on April 12, 2025, 1:18 a.m.