evenSample {analogue} | R Documentation |
Number of samples per gradient segments
Description
The number of samples in sections along the gradient is a useful diagnostic as to the quality of reconstructions at gradient values within those sections.
Usage
evenSample(grad, n = 10)
Arguments
grad |
numeric; vector of gradient values |
n |
number of segments to partition the gradient into |
Details
The sampling design of a training set, i.e. the number of samples taken at points along the gradient, can influence the uncertainty in the transfer function predictions at those values of the gradient. Poorly sampled sections of the gradient may have far larger RMSEP than the overall model RMSEP.
Value
Numeric vector of length n
containing the numbers of samples
per gradient segment.
Author(s)
Gavin L. Simpson
Examples
data(SumSST)
ev <- evenSample(SumSST) ## not an even sample...
plot(ev)
[Package analogue version 0.17-6 Index]