Description Usage Arguments Value Examples
Internal method to calculate the network using data-dependant methods
1 | .calcPenalty(xdata, penalty.type, network.options = networkOptions())
|
xdata |
input data |
penalty.type |
which method to use |
network.options |
options to be used |
vector with penalty weights
1 2 3 4 5 6 7 8 9 | xdata <- matrix(rnorm(100), ncol = 20)
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')
glmSparseNet:::.calcPenalty(xdata, 'sparsebn')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.