adj_grob_size: function to adjust the size of the facets used in...

View source: R/ggplot_leave_NA_time.R

adj_grob_sizeR Documentation

function to adjust the size of the facets used in leave_NAtime_plot

Description

function to adjust the size of the facets used in leave_NAtime_plot

Usage

adj_grob_size(
  p,
  data,
  breaks = "10 hours",
  date_labels = "%b %d",
  plot = T,
  ...
)

Arguments

p

ggplot object

data

data that is used for ggplot object

breaks

character indicating breaks on x-axis eg. "10 hours" (default)

...

other parameters that should be parsed to scale_x_datetime(date_breaks = breaks, ...)

Examples

adj_grob_size(plt2,plt_data,"1 day",date_labels= "%b %d")

laurin-f/pkg.WWM documentation built on July 19, 2023, 12:04 a.m.