zofgrid: Utility to construct xyz-coordinates of a function for the...

Description Usage Arguments Value

View source: R/zofgrid.R

Description

Sets up an xy-grid, retrieves the function value at each grid point, and returns the resulting xyz-coordinates.

Usage

1
zofgrid(cop, FUN, n, delta, xlim, ylim)

Arguments

cop

A copula object.

FUN

character. Decides whether the cdf or pdf of the supplied copula is to be plotted. Accepts "cdf" or "pdf" as input.

n

integer. Number of grid points in x- and y-direction.

delta

double. A value in the range [0, 0.5) for changing the evaluation boundaries by adding it to the lower limits of x and y and subtracting it from the upper limits of x and y.

xlim

integer. Range of x values to be plotted.

ylim

integer. Range of y values to be plotted.

Value

A list with a vector of x-coordinates, a vector of y-coordinates and a matrix with the function values of FUN on the xy-grid.


AlexanderRitz/copR documentation built on Oct. 30, 2019, 4:11 a.m.