trim {batwing} | R Documentation |
A simple utility function to remove the first few rows from batwing output.
trim(o, howmany)
o |
A batwing output |
howmany |
how many rows to remove |
A simple utility function to remove the first few rows from batwing output. This is needed to remove the burn-in from the Markov chain.
returns a shorter set of batwing output.
Ian J Wilson I.J.Wilson@ncl.ac.uk
http://www.mas.ncl.ac.uk/~nijw
data(exampleoutput) a <- trim(exampleoutput,100) apply(a[4:7],2,quantile,probs=c(0.1,0.5,0.9))