Description Usage Arguments Value Author(s) See Also Examples

This function can be used to define breakpoints for use with the functions `draw.grid`

and `legend.grid`

1 | ```
breaks.grid(grd, quantile = 0.975, ncol = 12, zero = TRUE)
``` |

`grd` |
an array produced by |

`quantile` |
the maximum value of the breaks will be determined by the quantile given here. This can be used to deal with outlying values in |

`ncol` |
number of colours to be used, always one more than the number of breakpoints. Defaults to 12. |

`zero` |
logical, should zero be included as a separate category? Defaults to |

a vector of breakpoints to be used by `draw.grid`

and `legend.grid`

Hans Gerritsen

1 2 3 4 5 | ```
breaks.grid(100,ncol=6)
breaks.grid(100,ncol=5,zero=FALSE)
# create breaks on the log scale
exp(breaks.grid(log(10000),ncol=4,zero=FALSE))
``` |

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.