plot.predictability {BGGM} | R Documentation |
Plot predictability
Objects
Description
Plot predictability
Objects
Usage
## S3 method for class 'predictability'
plot(
x,
type = "error_bar",
cred = 0.95,
alpha = 0.5,
scale = 1,
width = 0,
size = 1,
color = "blue",
...
)
Arguments
x |
An object of class |
type |
Character string. Which type of plot ? The options
are |
cred |
Numeric. The credible interval width for summarizing the posterior distributions (defaults to 0.95; must be between 0 and 1). |
alpha |
Numeric. Transparancey of the ridges |
scale |
Numeric. This controls the overlap of densities
for |
width |
Numeric. The width of error bar ends (defaults to |
size |
Numeric. The size for the points (defaults to |
color |
Character string. What color for the point ( |
... |
Currently ignored. |
Value
An object of class ggplot
.
Examples
Y <- ptsd[,1:5]
fit <- explore(Y, iter = 250,
progress = FALSE)
r2 <- predictability(fit, iter = 250,
progress = FALSE)
plot(r2)
[Package BGGM version 2.1.3 Index]