yearplots: Multiple plots of daily data over years

Description Usage Arguments Value

View source: R/plot_utils.r

Description

Plots summaries of daily data in a yearly plot

Usage

1
2
3
4
5
6
7
8
9
yearplots(
  data,
  vars,
  year = year,
  doy = doy,
  what = c("data", "mean", "na"),
  rows = floor(length(vars)/cols + 1),
  cols = 4
)

Arguments

data

dataframe with data

vars

character vector with variable (columns) names holding the data to summarise

year

name of the column holding the year

doy

name of the column holding the doy [1-366]

what

what to plot: all values, means over the years or presence of NA's

rows

number of rows for the multiple plots. Defaults accordind to the number of

cols

number of columns for the multiple plots. Defaults to 4

Value

plot


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.