evenSample | R Documentation |
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.
evenSample(grad, n = 10)
grad |
numeric; vector of gradient values |
n |
number of segments to partition the gradient into |
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.
Numeric vector of length n
containing the numbers of samples
per gradient segment.
Gavin L. Simpson
data(SumSST)
ev <- evenSample(SumSST) ## not an even sample...
plot(ev)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.