plot.brr: plot brr

Description Usage Arguments Examples

Description

plot brr

Usage

1
2
## S3 method for class 'brr'
plot(x, what = "summary", bounds = NULL, ...)

Arguments

x

an object of class brr (see Brr)

what

"summary" to plot automatically the priors on mu and phi and the posterior on phi, or an expression like dprior(mu) for a specific plot (see examples)

bounds

for specific plot only, the range over which the function will be plotted; NULL for automatic bounds

...

other arguments passed to plot or barplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
model <- Brr(a=2, b=3)
plot(model)
plot(model, dprior(mu))
plot(model, dprior(mu), xlim=c(0,4), lwd=3, col="blue")
plot(model, pprior(mu))
plot(model, qprior(mu))
model <- model(c=4, d=6, S=10, T=10)
plot(model)
plot(model, dprior(phi))
plot(model, dprior(x))
model <- model(y=4)
plot(model, dprior(x_given_y))
model <- model(x=5, y=5)
plot(model, dpost(phi))
model <- model(Snew=10, Tnew=10)
plot(model, dpost(x))

stla/brr documentation built on May 30, 2019, 5:46 p.m.