| posterior_linpred.hsstan {hsstan} | R Documentation | 
Posterior distribution of the linear predictor
Description
Extract the posterior draws of the linear predictor, possibly transformed by the inverse-link function.
Usage
## S3 method for class 'hsstan'
posterior_linpred(object, transform = FALSE, newdata = NULL, ...)
Arguments
| object | An object of class  | 
| transform | Whether the linear predictor should be transformed using
the inverse-link function ( | 
| newdata | Optional data frame containing the variables to use to
predict. If  | 
| ... | Currently ignored. | 
Value
A matrix of size S by N, where S is the number of draws from the
posterior distribution of the (transformed) linear predictor, and N is
the number of data points.
Examples
# continued from ?hsstan
posterior_linpred(hs.biom)
[Package hsstan version 0.8.2 Index]