table.predictions {BANOVA}R Documentation

Function to print the table of means

Description

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.

Usage

table.predictions(x)

Arguments

x

the object from BANOVA.*

Examples

data(goalstudy)

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)


[Package BANOVA version 1.2.1 Index]