twoDimDen: Create 2d density on log-scale

Description Usage Arguments Value

View source: R/twoDimDen.R

Description

Create 2d density on log-scale

Usage

1
twoDimDen(x, y, nbin = 100, lims = NULL, freq = FALSE, log = FALSE)

Arguments

x

the x values

y

the y values

nbin

the number of bins for the density calculation

lims

vector containing the x and y limits c(x1, x2, y1, y2)

freq

logical, return frequency? density is returned if FALSE

log

character; indicating which axes should be in log scale.

Value

List with: 'x' and 'y' giving the bin number for x and y; 'z' matrix giving the frequency/density in each bin; 'xseq' and 'yseq' giving the break points for the x and y bins


daynefiler/dlfUtils documentation built on Oct. 22, 2021, 9:49 a.m.