63_probability_matrices: Bivariate Density/etc Matrices

Description Usage Arguments Value References Examples

Description

Convenience function to construct an S4 object representing a bivariate density/etc matrix from a bivariate PDF/CDF.

Unlike other objects in the package, you're welcome to access the slots.

Usage

1
ph4.BVMatrix (sf, xlim, ylim, ..., n=10)

Arguments

sf

A suitable function object.
(Here, this refers to a bivariate PDF/CDF).

xlim, ylim

Numeric length two vectors, giving the evaluation ranges.

n

Integer vector of length one or two, giving the number of points, in each x and y direction.

...

Ignored.

Value

An S4 object with three slots, fv (a matrix), x (x evaluation points) and y (y evaluation points).

Each row in fv, corresponds to one x value, and each column to one y value.

References

Refer to the vignette for an overview, references and better examples.

Examples

1
2
3
4
prep.ph.data ()

cfh2 <- pdfmv.cks (trees2 [,-2])
ph4.BVMatrix (cfh2)

probhat documentation built on May 12, 2021, 5:08 p.m.