line_chart_.Survey: Using line_chart_ with a Survey

Description Usage Arguments Author(s) Examples

View source: R/plot.R

Description

This is a S3 method for line_chart_ which applies the EPSI theme to the plot. See qtable_.Survey for additional information on how they differ.

Usage

1
2
3
## S3 method for class 'Survey'
line_chart_(df, vars, groups = NULL, weight = NULL,
  margin = TRUE, margin_name = NULL, wrap = FALSE)

Arguments

df

A data.frame or data.table.

vars

The variables to aggregate, as a character vector.

groups

Variables to group by during aggregation.

weight

Name of a variable to weight by. Only used when margin = TRUE.

margin

If TRUE (the default), the first group will include a "Total".

margin_name

Optional: Give the margin a different name from "Total".

wrap

Ignored.

Author(s)

Kristian D. Olsen

Examples

1

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.