edf0s {ShapeSelectForest} | R Documentation |
A 21 by 7 Matrix Storing Edf0 Vectors
Description
The object "edf0s" is a by
matrix. Each row is an edf0 vector of
elements corresponding to the
shapes in this package. Such a vector will be used in the main routine "shape" to select the best shape for a scatterplot of Landsat signals. Each edf0 vector is simulated through a subroutine called "getedf0", using a total of
simulations with the random seed being set to
. Each row is an edf0 vector for an equally spaced
vector of
elements (e.g., years). From the first row to the last row, the edf0 vector is for a predictor vector
of length
which is an integer ranging from
to
. The matrix is built for the convenience of users when they call the routine "shape".
If the vector is equally spaced and its number of elements
is between
and
, then a corresponding edf0 vector will be extracted directly from this matrix and no simulation will be done, which saves a lot of time; otherwise, the subroutine "getedf0" will be called inside the routine "shape" to get an edf0 vector for
. The timing depends on the number of elements in
and the shape options allowed by the user. For example, when
is an equally spaced vector of
elements, the timing is about
seconds if the user allows a double-jump shape and the timing is about
seconds if the user doesn't allow a double-jump shape. Also, when
is not an equally spaced vector, no matter how many elements it has, "getedf0" should be called.
Usage
data("edf0s")
Format
A 21 by 7 matrix.
See Also
shape
, ShapeSelectForest-package