validate.nlast: Check if 'nlast' needs to be adjusted in order to accommodate...

View source: R/utils.R

validate.nlastR Documentation

Check if nlast needs to be adjusted in order to accommodate out.step

Description

Check if nlast needs to be adjusted in order to accommodate out.step

Usage

validate.nlast(x, nlast, out.step)

Arguments

x

Vector containing the starting values of the input intervals/bins. For example: if we have 3 bins [0,5), [5,10) and [10, 15), x will be defined by the vector: c(0, 5, 10).

nlast

Length of the last interval. In the example above nlast would be 5.

out.step

Length of estimated intervals in output. Values between 0.1 and 1 are accepted. Default: 1.


mpascariu/pclm documentation built on Feb. 4, 2024, 9:34 p.m.