magtri(chains, samples, samptype = "end", grid = FALSE, tick = FALSE)
chains
.
chains
('end', the default since samples are usually better towards the end of a set of psoterior chain samples) or randomly selected ('ran', should only be used if you are confident the posterior chains supplied are true stationary samples).
magaxis
for details.
magcon
Sigma=matrix(c(10,3,-5,3,12,8,-5,8,20),3,3)
chains=mvrnorm(n=1000, mu=1:3, Sigma=Sigma)
magtri(chains,tick=TRUE)
Run the code above in your browser using DataLab