Learn R Programming

unfoldr (version 0.2)

binning3d: Histogram data

Description

Count data of size, shape and orientation values.

Usage

binning3d(size, angle, shape, breaks, check = TRUE, na.rm = TRUE)

Arguments

size
vector of sizes
angle
vector of angles
shape
vector of aspect ratios
breaks
list of bin vectors
check
logical, default is TRUE
na.rm
logical, if NAs are to be removed in the data vectors, default is TRUE

Value

  • 3d array of count data

Details

For each value of planar or spatial measured quantities size,shape,orientation the function counts the number of observations falling into each class. The breaks list is either obtained from function setbreaks or the user supplies his own variant, see setbreaks for details. If check is TRUE some checks on the breaks list are done.