trace.plot | R Documentation |
Function to plot the trace of all coefficients/parameters. The plots can be saved as a pdf file.
trace.plot(x, save = FALSE)
x |
the object from BANOVA.* |
save |
whether to save the trace plot as a pdf file, the default is FALSE |
data(goalstudy) library(rstan) # or use BANOVA.run res1 <- BANOVA.run(bid~progress*prodvar, model_name = "Normal", data = goalstudy, id = 'id', iter = 1000, thin = 1, chains = 2) trace.plot(res1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.