st_bivmap: st_bivmap

Description Usage Arguments Value

View source: R/st_bivmap.R

Description

Plot bivariate spatial data. Grid points are colored according to the bivariate distribution. First bin the data with st_assign_colors or assign_colors.df.

Usage

1

Arguments

data

a data frame as passed from st_assign_colors or assign_colors.df. Columns for Longitude and Latitude are in the third and fourth columns, respectively, and the color corresponding to each row lies in the sixth column.

...

arguments passed to borders() from ggplot2. A convenient way to get borders from the maps package onto the plot.

Value

a ggplot object


JamesMCollier/densityviz documentation built on Dec. 18, 2021, 12:31 a.m.