coefficientMatrixSpheroids {unfoldr}R Documentation

Calculate coefficients (spheroids)

Description

Calculate coefficients of discretized integral equation

Usage

coefficientMatrixSpheroids(breaks, stype = c("prolate", "oblate"),
  check = TRUE, nCores = getOption("par.unfoldr", 1))

Arguments

breaks

list of bin vectors

stype

either prolate or oblate

check

logical, whether to run some input checks

nCores

number of cores used to calculate the coefficients

Details

In order to apply the EM algorithm to the stereological unfolding procedure for the joint size-shape-orientation distribution one first has to calculate the coefficients of the discretized integral equation. This step is the most time consuming part of unfolding the parameters and therefore has been separated in its own function. Further, the number of classes for size, shape and orientation do not need to be equal, whereas the same class limits are used for binning spatial and planar values. This might be changed in future releases. Using multiple cpu cores is controlled by either setting the option 'par.unfoldr' in the global R environment or passing the number of cores nCores directly.

Value

coefficient array

Examples

## Not run: inst/examples/coeffarray.R 

[Package unfoldr version 0.6.3 Index]