plot.FastRCS: Robust Diagnostic Plots For FastRCS

Description Usage Arguments Details See Also Examples

View source: R/FastRCS.R

Description

Shows the robust Score distances versus robust Orthogonal distances and their respective cutoffs, for the an object of class FastRCS.

Usage

1
2
## S3 method for class 'FastRCS'
plot(x,col="black",pch=16,...)

Arguments

x

For the plot() method, a FastRCS object, typically result of FastRCS.

col

A specification for the default plotting color. Vector of values are recycled.

pch

Either an integer specifying a symbol or a single character to be used as the default in plotting points. Note that only integers and single-character strings can be set as a graphics parameter. Vector of values are recycled.

...

Further arguments passed to the plot function.

Details

This function produces the robust standardized, residuals as well as an indicative cut-off (under normal model). This tool is a diagnostic plot for robust regression and can be used used to reveal the outliers.

See Also

FastRCS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
set.seed(123)
n<-100
p<-3
x0<-matrix(rnorm(n*p),nc=p)
y0<-rnorm(n)
z<-c(rep(0,30),rep(1,70))
x0[1:30,]<-matrix(rnorm(30*p,5,1/100),nc=p)
y0[1:30]<-rnorm(30,10,1/100)
ns<-FRCSnumStarts(p=p,eps=0.4);
results<-FastRCS(x=x0,y=y0,alpha=0.5,nSamp=ns)
plot(results)

FastRCS documentation built on May 2, 2019, 2:47 p.m.