print Method for Ocens Objects
# 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
Examples
Y <- Ocens(1:3, c(1, Inf, 3))
Y
#> [1] 1 2+ 3
print(Y, ivalues=TRUE) # doesn't change anything since were numeric
#> [1] 1 2+ 3