| plotprior {MCMCglmm} | R Documentation |
Samples from the prior distribution of the R-structure and G-structure used in MCMCglmm models, and plots the histograms
plotprior(prior, cor=FALSE, n=1000, ask = dev.interactive(), ...)
prior |
list of prior variance-structure specifications having 2 possible elements:
the R (R-structure) and G (G-structure) specifying the expected (co)variances (V) and degree
of belief parameter |
cor |
logical; if TRUE, the prior correlation matrices are generated |
n |
integer: number of samples to be drawn |
ask |
logical: prompt user before each page of plots |
... |
Further arguments |
Jarrod Hadfield j.hadfield@ed.ac.uk
prior=list(R=list(V=diag(2), n=2),
G=list(G1=list(V=diag(2), n=3),
G2=list(V=diag(2), n=4)))
plotprior(prior, cor=TRUE)
plotprior(prior, cor=FALSE, xlim=c(-1,5))