predict.keyATM_output {keyATM} | R Documentation |
Predict topic proportions for the covariate keyATM
Description
Predict topic proportions for the covariate keyATM
Usage
## S3 method for class 'keyATM_output'
predict(
object,
newdata,
transform = FALSE,
burn_in = NULL,
parallel = TRUE,
posterior_mean = TRUE,
ci = 0.9,
method = c("hdi", "eti"),
point = c("mean", "median"),
label = NULL,
raw_values = FALSE,
...
)
Arguments
object |
the keyATM_output object for the covariate model. |
newdata |
New observations which should be predicted. |
transform |
Transorm and standardize the |
burn_in |
integer. Burn-in period. If not specified, it is the half of samples. Default is |
parallel |
logical. If |
posterior_mean |
logical. If |
ci |
value of the credible interval (between 0 and 1) to be estimated. Default is |
method |
method for computing the credible interval. The Highest Density Interval ( |
point |
method for computing the point estimate. |
label |
a character. Add a |
raw_values |
a logical. Returns raw values. The default is |
... |
additional arguments not used. |