Description Usage Arguments Details Author(s) See Also Examples

Crate a Brattle-formatted scatterplot matrix

1 |

`data` |
Data frame |

`columns` |
Character vector of column names to include in plot |

`distinct_threshold` |
Maximum number of distinct values for non-factors to be treated as factors for plotting |

The diagonal terms are histograms for each variable. The upper triangle shows correlation among continuous variables and is blank if either variable is discrete. The lower diagnoal is:

A scatterplot with smoother for continuous-continuous pairs;

A boxplot for continuous-discrete pairs; and

Faceted histograms for discrete-discrete pairs.

Charlie Gibbons

`ggpairs`

from the `GGally`

package

1 |

Brattle/BrattleExtras documentation built on May 6, 2019, 8:47 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.