Learn R Programming

BANOVA (version 1.2.1)

pairs.BANOVA: Create a matrix of output plots from a BANOVA object

Description

A pairs method that is customized for MCMC output.

Usage

# S3 method for BANOVA
pairs(x, ...)

Arguments

x

an object of class "BANOVA"

...

Further arguments to be passed to pairs.stanfit

Details

For a detailed description see pairs.stanfit

Examples

Run this code
# NOT RUN {
library(rstan)
data(ipadstudy)
res_1 <- BANOVA.run(attitude~owner + age + gender + selfbrand*conspic, 
model_name = 'Normal', data = ipadstudy, id = 'id', iter = 1000, 
thin = 1, chains = 2)
# pairs(res_1, pars = c("beta1[1]","beta1[2]"))
# }

Run the code above in your browser using DataLab