Learn R Programming

robcat (version 0.2)

print.robpolyserial: Print method for classes "robpolyserial" and "polyserial".

Description

Print method for classes "robpolyserial" and "polyserial".

Usage

# S3 method for robpolyserial
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Value

A print to the console.

Arguments

x

Object of class "robpolyserial" or "polyserial".

digits

Number of digits to be printed.

...

Additional parameters to be passed down.

Examples

Run this code
set.seed(123)
x <- rnorm(100)
y <- sample(c(1,2), size = 100, replace = TRUE)
fit <- polyserial(x,y) 

print(fit)
fit # equivalent

Run the code above in your browser using DataLab