summary.htlr.fit | R Documentation |
This function gives a summary of posterior of parameters.
## S3 method for class 'htlr.fit'
summary(
object,
features = 1L:object$p,
method = median,
usedmc = get_sample_indice(dim(object$mcdeltas)[3], object$mc.param$iter.rmc),
...
)
object |
An object of S3 class |
features |
A vector of indices (int) or names (char) that specify the parameters we will look at. By default all parameters are selected. |
method |
A function that is used to aggregate the MCMC samples. The default is |
usedmc |
Indices of Markov chain iterations used for inference. By default all iterations are used. |
... |
Not used. |
A point summary of MCMC samples.
set.seed(12345)
data("colon")
fit <- htlr(X = colon$X, y = colon$y, fsel = 1:100, iter = 20)
summary(fit, features = 1:16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.