plot_intervals_dist {burnr}R Documentation

Basic fire intervals distribution plot

Description

Basic fire intervals distribution plot

Usage

plot_intervals_dist(x, binwidth = NULL)

Arguments

x

An intervals object, from intervals().

binwidth

The width of the bins. Can be specified as a numeric value or as a function that calculates width from unscaled x. Here, "unscaled x" refers to the original x values in the data, before application of any scale transformation. When specifying a function along with a grouping structure, the function will be called once per group. The default is to use the number of bins in bins, covering the range of the data. You should always override this value, exploring multiple widths to find the best to illustrate the stories in your data.

The bin width of a date variable is the number of days in each time; the bin width of a time variable is the number of seconds.

Value

A ggplot object.

See Also


[Package burnr version 0.6.1 Index]