Learn R Programming

unfoldr (version 0.2)

setbreaks: Break vectors

Description

Construct class limits vectors

Usage

setbreaks(nclass, maxSize, base = NULL, kap = 1, sizeType = c("linear",
  "exp"))

Arguments

nclass
number of classes
maxSize
maximum of size values
base
constant for size class construction
kap
constant for shape class construction
sizeType
either linear or exp, default is linear

Value

  • list of class limits vectors

Details

The function constructs the class limits for the size, shape and orientation parameters. One can either define linear class limits of 'size' as $a_i=i\delta, \delta=maxSize/M$ or using exponentially increasing limits: $base^i, i=1,\dots,M$. The orientation classes are defined as $\theta_j=j\omega, \omega=\pi/(2N), j=1,\dots,N$ in the range $[0,\pi/2]$, where $M,N$ are the number of size classes and the number of orientation classes, respectively. Argument base must not be NULL if sizeType='exp' is chosen.