Learn R Programming

Momocs (version 1.0.0)

which_out: Remove outliers on Coe

Description

First performs a PCA, then searches for outliers using dnorm

Usage

which_out(x, conf, nax, ...)

Arguments

x
object, either Coe or a numeric on which to search for outliers
conf
confidence for dnorm
nax
number of axes to retain (only for Coe), if
...
additional parameters to be passed to PCA (only for Coe)

Examples

Run this code
x <- rnorm(10)
x[4] <- 99
which_out(x)

Run the code above in your browser using DataLab