build_plot: Build plot with defaults

Description Usage Arguments Value

Description

Build plot with defaults

Usage

1
2
build_plot(data, colors, to_percent = c(FALSE, TRUE),
  z_axis_title = "Range")

Arguments

data

data frame with at least four columns: "temp", "precip", your output column, and a "bins" column which indicates which bin the observation falls into.

colors

vector containing your color scale

to_percent

vector of length two: do you want your (temp, precip) data to be interpreted as percentage changes around 1? (e.g 0.9 is -10% change, 1.2 is 20% change)

z_axis_title

Title of Z axis (represented by color).

Value

ggplot2 plot


tbadams45/wrviz documentation built on May 31, 2019, 3:58 a.m.