Plotting predictive distributions constructed from dynamic tree (regression) models for 1-d data – provided primarily for use in our 1-d examples and for illustrative purposes

1 2 3 |

`x` |
a |

`add` |
a scalar |

`proj` |
when |

`ylim` |
user-specified y-axis limits values; see |

`col` |
user-specified color value; see |

`lwd` |
user-specified line-width value; see |

`ptype` |
type of plot used to visualize several predictive
samples obtained from |

`...` |
other arguments to the generic |

This plotting function only handles the predictive output from
1-dimensional regression `dynaTree`

models as obtained by
first calling `dynaTree`

and then
`predict.dynaTree`

on the resulting output at new
`XX`

locations. It is provided to help make the illustration
of our 1-d examples easier and to serve as an aid in a user's
development of custom plotting functions in higher dimensions

The only output of this function is a pretty plot

Robert B. Gramacy rbgramacy@chicagobooth.edu,

Matt Taddy taddy@chicagobooth.edu, and

Christoforos Anagnostopoulos christoforos.anagnostopoulos06@imperial.ac.uk

Taddy, M.A., Gramacy, R.B., and Polson, N. (2011). “Dynamic trees for learning and design” Journal of the American Statistical Association, 106(493), pp. 109-123; arXiv:0912.1586

http://bobby.gramacy.com/r_packages/dynaTree/

`predict.dynaTree`

, `dynaTree`

,
`update.dynaTree`

1 2 | ```
## see dynaTree, dynaTrees and update.dynaTree for examples
## which use this plot function
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.