View source: R/predictability.R
plot.predictability | R Documentation |
predictability
ObjectsPlot predictability
Objects
## S3 method for class 'predictability'
plot(
x,
type = "error_bar",
cred = 0.95,
alpha = 0.5,
scale = 1,
width = 0,
size = 1,
color = "blue",
...
)
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. |
An object of class ggplot
.
Y <- ptsd[,1:5]
fit <- explore(Y, iter = 250,
progress = FALSE)
r2 <- predictability(fit, iter = 250,
progress = FALSE)
plot(r2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.