Learn R Programming

tscopula (version 0.3.9)

glag_for_armacopula: Generalized lagging for fitted armacopula objects

Description

Generalized lagging for fitted armacopula objects

Usage

glag_for_armacopula(copula, data, lagmax, glagplot = FALSE)

Value

If glagplot is TRUE a list of generalized lagged datasets of maximum length 9 is returned to facilitate a generalized lagplot. If glagplot is FALSE a vector of length lagmax containing the Kendall rank correlations for the generalized lagged datasets is returned.

Arguments

copula

an armacopula object.

data

the data to which copula is fitted.

lagmax

the maximum lag value.

glagplot

logical value indicating generalized lag plot.