limits.create {RGeostats} | R Documentation |
Create the limits from arguments
limits.create(mini = NA, maxi = NA, incmini=NA, incmaxi=NA, zcut=NA, flag.zcut.int = TRUE, flag.zcut.zero = TRUE, limits = NA)
mini |
Array containing the lower bounds of each class. Use NA if the lower limit of a class is undefined. The length of 'mini' and 'maxi' arguments must be equal. |
maxi |
Array containing the upper bounds of each class. Use NA if the upper limit of a class is undefined. The length of 'mini' and 'maxi' arguments must be equal. |
incmini |
Array containing the inclusive/exclusive flag for the lower bounds. If not specified, the lower bounds are included. The length of 'incmini' can be either equal to the length of 'mini' (or 'maxi') or equal to 1: its value is then extended to all intervals. |
incmaxi |
Array containing the inclusive/exclusive flag for the upper bounds. If not specified, the upper bounds are excluded. The length of 'incmaxi' can be either equal to the length of 'mini' (or 'maxi') or equal to 1: its value is then extended to all intervals. |
zcut |
If defined, the limits are created using this argument and ignoring 'mini' and 'maxi' arguments. Then 'zcut' corresponds to the list of cutoffs used to create the limits. The number of limits is equal to the number of elements in the 'zcut' vector. See 'flag.zcut.int' for details. |
flag.zcut.int |
When TRUE, the first interval is between zcut_zero and zcut[1]; the second interval between zcut[1] and zcut[2], ... The lower bound is always included and the upper bound excluded. The argument zcut.zero is defined according to the ; fag.zcut.zero' argument. When FALSE, the first interval is between zcut[1] and Infinity (no upper bound specified), the second interval between zcut[2] and Infinity, ... The lower bound is always included and the upper bound excluded. |
flag.zcut.zero |
This argument is only used when 'flag.zcut.int=TRUE'. When TRUE, the lower bound of the first interval is set to 0. When FALSE, the lower bound of the first interval is set to -Inf. |
limits |
If this argument is specified, the new |
A limits-class
structure.