trim {batwing}R Documentation

Remove the first few rows from output.

Description

A simple utility function to remove the first few rows from batwing output.

Usage

trim(o, howmany)

Arguments

o A batwing output
howmany how many rows to remove

Details

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.

Value

returns a shorter set of batwing output.

Author(s)

Ian J Wilson I.J.Wilson@ncl.ac.uk

References

http://www.mas.ncl.ac.uk/~nijw

See Also

rbat

Examples

data(exampleoutput)
a <- trim(exampleoutput,100)
apply(a[4:7],2,quantile,probs=c(0.1,0.5,0.9))

[Package batwing version 0.1 Index]