CovCorMPer: Robust covariance or correlation matrix from the MPer-ACF

Description Usage Arguments Value Examples

View source: R/CovCorMPer.R

Description

Wrapper that computes the covariance or correlation matrix of x at lag 0 obtained from the robust MPer-ACF.

Usage

1
CovCorMPer(x, type = c("correlation", "covariance"))

Arguments

x

a numeric matrix

type

character string giving the type of acf to be computed. Allowed values are "correlation" (the default) or "covariance".

Value

a numeric matrix

Examples

1
2
data.set <- cbind(fdeaths, mdeaths)
CovCorMPer(data.set)

acfMPeriod documentation built on July 23, 2019, 5:04 p.m.