Learn R Programming

tscopula (version 0.3.9)

glag_for_sarmacopula: Generalized lagging for fitted sarmacopula objects

Description

Generalized lagging for fitted sarmacopula objects

Usage

glag_for_sarmacopula(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

a sarmacopula object.

data

the data to which copula is fitted.

lagmax

the maximum lag value.

glagplot

logical value indicating generalized lag plot.