Description Usage Arguments Value
Performs k-fold cross-validation on the input formula.
1 2 |
formula |
The formula to work on, same semantics as for |
nfolds |
Support of the data. Defaults to [0,1]. |
candidates |
a list of candidate polygrams. Each element of the list must contain a vector (or integer) of splits, a vector m of Bernstein degrees, and a vector p of derivative orders. If an integer N is supplied, it takes the candidate list to be s = 0:N and m = 3, p = 2. |
data |
an optional vector of data to be used in the formula. |
m |
optional list of ms, only relevant if candidates includes only splits. |
p |
optional list of ps, only relevant if candidates includes only splits. |
... |
additional arguments passed to |
A cv.polygram
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.