data(ec)
EC2 <- evalmcmod(ec[[2]])
# When the input is mc object
ggspaghetti(EC2)
# When the input is mcnode object
data(total)
# mcnode has one variate
ggspaghetti(xV)
# This mcnode has two variates, will save two plots in a list
gplots <- ggplotmc(xVUM) #will save two plots in a list
# show the first variate plot of xVUM mcnode
gplots[[1]]
# directly show the first variate plot of xVUM mcnode
ggspaghetti(xVUM, which = 1)
Run the code above in your browser using DataLab