qqDiagnosis: QQ-plot diagnosis and outlier detection from standardized...

View source: R/QQplot.R

qqDiagnosisR Documentation

QQ-plot diagnosis and outlier detection from standardized residuals

Description

QQ-plot diagnosis and outlier detection from standardized residuals

Usage

qqDiagnosis(
  std.residuals,
  outlier.quantile = 0.1/length(std.residuals),
  plot.it = T
)

Arguments

std.residuals

A vector of standardized residuals, can be the output element std.resid from function grappleRobustEst

outlier.quantile

The quantile threshold for outliers.

plot.it

Whether show the QQ-plot or not if diagnosis if performed. Default is TRUE.

Value

A list with two elements

p

The QQ plot

outliers

The data frame for the detected outliers


jingshuw/GRAPPLE-beta- documentation built on March 29, 2024, 1:26 p.m.