plot.varexp.ci | R Documentation |
This function takes a Diploffect.INLA summary object and plots the posterior credible intervals of the proportion of the variance explained.
## S3 method for class 'varexp.ci'
plot(
inla.diploffect.ci,
xlab = "Variance Explained",
main = NULL,
main.cex = 1,
main.line = 2,
add.numbers = FALSE,
...
)
inla.diploffect.ci |
A Diploffect.INLA summary object. Output from run.diploffect.inla.summary.stats(). Contains credible information for various model parameters. |
xlab |
DEFAULT: "Variance Explained". Label for the x axis of the plot. |
add.numbers |
DEFAULT: FALSE. Adds numeric summaries next to intervals. |
Nothing. Produces plot.
library(Diploffect.INLA)
data(exampleCC)
data(locusmatrix)
inla.diploffect <- run.diploffect.inla(formula=y~1+(1|strain)+(1|dose.date), add.on=FALSE, data=exampleCC, K=NULL,
prob.matrix=locusmatrix,
num.draws=10,
use.dip.lincomb=TRUE, seed=1, gamma.rate=1, impute.on="CCline")
inla.diploffect.summary <- run.diploffect.inla.summary.stats(inla.diploffect)
plot.varexp.ci(inla.diploffect.summary, add.numbers=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.