The Markov chain samples (without warmup) included in a htlr.fit
object will be coerced to a matrix.
Usage
# S3 method for class 'htlr.fit'
as.matrix(x, k = NULL, include.warmup = FALSE, ...)
Arguments
- x
An object of S3 class
htlr.fit
.- k
Coefficients associated with class
k
will be drawn. Must be a positive integer in 1,2,...,C-1 for C-class traning labels (base class 0 can not be chosen). By default the last class is selected. For binary logistic model this argument can be ignored.- include.warmup
Whether or not to include warmup samples
- ...
Not used.