esm_nw: Wrapper function to create barchart for each date /...

Description Usage Arguments Value

View source: R/esm_nw.R

Description

Wrapper function to create barchart for each date / measurement.

Usage

1
2
esm_nw(data = NULL, var_date = NULL, vars_meas = NULL, nodes = NULL,
  outcome = NULL, vis_options = NULL)

Arguments

data

A dataframe.

var_date

A string with the name of the date-variable for the different facets.

nodes

A string with name of variable specifying the different groups which will be represented as different lines.

outcome

A string with name of variable specifying the outcome.

vis_options

A string with name of variable specifying the different groups which will be represented as different lines The possibilities for the vis_options are: "axis_limits = ..."; vector with lower and upper limit of y-axis (e.g., c(0, 10))

var_meas

A vector with strings of variable names that determines order of x-axis.

Value

A ggplot-object/graph.


gertstulp/ESMvis documentation built on May 17, 2019, 11:16 p.m.