Learn R Programming

robcat (version 0.1.0)

print.robpolycor: Print method for classes "robpolycor" and "polycor".

Description

Print method for classes "robpolycor" and "polycor".

Usage

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

Value

A print to the console.

Arguments

x

Object of class "robpolycor" or "polycor".

digits

Number of digits to be printed.

...

Additional parameters to be passed down.

Examples

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

print(fit)
fit # equivalent

Run the code above in your browser using DataLab