.calcPenalty | R Documentation |
Internal method to calculate the network using data-dependant methods
.calcPenalty(xdata, penaltyType, options = networkOptions())
xdata |
input data |
penaltyType |
which method to use |
options |
options to be used |
vector with penalty weights
xdata <- matrix(rnorm(1000), ncol = 200)
glmSparseNet:::.calcPenalty(xdata, "none")
glmSparseNet:::.calcPenalty(
xdata, "correlation",
networkOptions(cutoff = .6)
)
glmSparseNet:::.calcPenalty(xdata, "correlation")
glmSparseNet:::.calcPenalty(
xdata, "covariance",
networkOptions(cutoff = .6)
)
glmSparseNet:::.calcPenalty(xdata, "covariance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.