Description Usage Arguments Value Examples
Return a vector of grid of penalties for cross-validation
1 | kgrid(gridmax, numpts)
|
gridmax |
maximum value in penalty grid |
numpts |
number of points in penalty grid |
vector of penalties between 1 and approximately
gridmax
with logarithmic spacing
1 2 3 | gmax <- 20 ## maximum value for the grid of points
npts <- 10 ## number of grid points returned
gridpts <- kgrid(gmax,npts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.