plot_fit_pngs: Fit PNGS

Description Usage Arguments

View source: R/plot-fit.R

Description

Fit PNGS

Usage

1
2
3
4
plot_fit_pngs(data = cccharts::precipitation, observed, by = "Indicator",
  facet = NULL, nrow = NULL, width = 450L, height = 450L, ask = TRUE,
  dir = NULL, ylimits = NULL, ybreaks = waiver(), xbreaks = waiver(),
  ylab = ylab_fit, free_y = FALSE, prefix = "")

Arguments

data

A data frame of the data to plot

observed

A data.frame of the observed data.

by

A character vector of the factors to separate plots by.

facet

A string indicating the factor to facet wrap by.

nrow

A count of the number of rows when facet wrapping.

width

A count of the png width in pixels.

height

A count of the png height in pixels.

ask

A flag indicating whether to ask before creating the directory

dir

A string of the directory to store the results in.

ylimits

A numeric vector of length two providing limits of the y-axis scale.

ybreaks

A numeric vector of y-axis tick mark positions.

xbreaks

A numeric vector of x-axis tick mark positions.

ylab

A function that takes the data and returns a string for the y-axis label.

free_y

A flag indicating whether the facet axis should have free_y scales.

prefix

A string specifying the prefix for file names.


bcgov/cccharts documentation built on Dec. 21, 2020, 2:21 p.m.