Learn R Programming

unfoldr (version 0.7.1)

binning3d: Histogram data

Description

Count data of size, shape and orientation

Usage

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

Arguments

size

vector of sizes

angle

vector of angles

shape

vector of shape factors

breaks

list of bin vectors

check

logical, default is TRUE

na.rm

logical, whether NAs should be removed, default TRUE

Value

3D array of binned count data

Details

For each value of planar or spatial measured quantities size, shape and orientation the function counts the number of observations falling into each class (bin). The list breaks can be obtained by the function setbreaks. If check=TRUE, some checks on breaks are done. For an example please see the file 'almmc.R'.