detectOutlier: Detect outliers

Description Usage Arguments Value

View source: R/TVD.R

Description

Detect outliers

Usage

1
detectOutlier(data, nCurve, nPoint, empFactor)

Arguments

data

A matrix with dimension nCurve by nPoint, the functional data

nCurve

A scalar, the number of curves

nPoint

A scalar, the number of discrete time points

empFactor

A scalar, the empirical factor in the boxplot of MSS for detecting shape outliers

Value

Retrun a list containing outlier, sOut, mOut, TVD, MSS

outlier, a vector showing all the outliers

sOut, a vector showing shape outliers

mOut, a vector showing magnitude outliers

TVD, a vector of nCurve elements, corresponding to TVD of each curve

MSS, a vector of nCurve elements, corresponding to MSS of each curve


hhuang90/TVD documentation built on May 28, 2019, 8:39 a.m.