biv_dens: Estimate the joint density of two random variables (markers)

Description Usage Arguments Value

View source: R/Extra_tools.R

Description

Estimate the joint density of two random variables (markers)

Usage

1
biv_dens(dat, ngrids = 512, maxs = "default")

Arguments

dat

is a matrix of intensity of two random variables.

ngrids

is the number of grid-points to be used in estimating the kernel density. The diagonal multivariate plug-in bandwidth estimator is used.

maxs

is either a character named "default" or a vector of two values which will respectively be the maximum values considered for the two variables. If maxs = "default", the maximum of each of the data vectors are considered.

Value

It returns a kde object with estimated density and the grid-points from the ks package.


sealx017/MIAMI documentation built on Feb. 11, 2022, 12:20 a.m.