R/plotTraces.R

Defines functions plotTraces

Documented in plotTraces

plotTraces <- function(tfit){

  par(mfrow=c(2,2))
  n <- length(traces(tfit)$muTrace)
  plot(x=1:n, y=traces(tfit)$muTrace, type="l", xlab="stages", ylab="mu", main="muTrace")
  plot(x=1:n, y=traces(tfit)$sigmaTrace, type="l", xlab="stages", ylab="sigma", main="sigmaTrace")
  plot(x=1:n, y=traces(tfit)$sigmaRhoTrace, type="l", xlab="stages", ylab="sigmaRho", main="sigmaRhoTrace")
  plot(x=1:n, y=traces(tfit)$temperatureTrace, type="l", xlab="stages", ylab="temperature", main="temperatureTrace")

}

Try the ternarynet package in your browser

Any scripts or data that you put into this service are public.

ternarynet documentation built on Nov. 8, 2020, 7 p.m.