Description Usage Arguments Examples
View source: R/table.predictions.R
Output of this function is a table of means for the categorical predictors (and their interactions) at either within- or between- subjects level. Statistics of interest such as credible intervals and standard deviations of the means are also computed. Means of numeric variables and their interactions will not be computed.
1 |
x |
the object from BANOVA.* |
1 2 3 4 5 6 7 8 9 10 | data(goalstudy)
res <- BANOVA.Normal(bid~1, ~progress*prodvar, goalstudy, goalstudy$id,
burnin = 1000, sample = 1000, thin = 1)
library(rstan)
# or use BANOVA.run based on 'Stan'
res <- BANOVA.run(bid~progress*prodvar, model_name = "Normal",
data = goalstudy, id = 'id', iter = 1000, thin = 1, chains = 2)
table.predictions(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.