plot.robpolycor {robcat} | R Documentation |
Plot method for classes "robpolycor"
and "polycor"
.
Description
Plot method for classes "robpolycor"
and "polycor"
.
Usage
## S3 method for class 'robpolycor'
plot(x, cutoff = 3, ...)
Arguments
x |
Object of class |
cutoff |
Cutoff beyond which the color scale for Pearson residuals is truncated. |
... |
Additional parameters to be passed down. |
Value
An object of class "ggplot"
.
Examples
## example data
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)
plot(fit)
[Package robcat version 0.1.0 Index]