arrayBoundaryAverage: Averages the boundary elements of an array

Description Usage Arguments Details Value Author(s) Examples

Description

This function was implemented in order to reproduce the average of page 1998 of Carnicero et al., 2013.

Usage

1
arrayBoundaryAverage(pj1pj2Matrix, var2 = FALSE)

Arguments

pj1pj2Matrix

Empirical copula matrix. It is assumed that the periodic variable is the first column of the argument uv in the function pj1j2Matrix.

var2

Unimplemented yet. Which is the periodic random variable? Default to the first column of the argument uv in the function pj1j2Matrix.

Details

This function was implemented in order to reproduce the average of page 1998 of Carnicero et al., 2013. By default the periodic variable is the one of the first colum of the argument uv of the function pj1j2Matrix.

Value

A numeric array with equall (averaged) boundary elements.

Author(s)

Francisco Mendoza-Torres (mentofran@gmail.com)

Examples

1
2
3
4
5
ne <- 30
set.seed(12)
uve <- cbind(runif(ne), runif(ne))
library(squash)
arrayBoundaryAverage(pj1j2Matrix(uv = uve, k = 3)$counts)

mathphysmx/empiricalDistribution documentation built on May 7, 2019, 10:55 p.m.