showLinePlotsWithTarget: Show Line Plots With Target

View source: R/showLinePlotsWithTarget.R

showLinePlotsWithTargetR Documentation

Show Line Plots With Target

Description

Shows line plots of a variable with additional target data.

Usage

showLinePlotsWithTarget(data, vars, scales = "free_y", color.dim.name = NULL)

Arguments

data

A quitte object or an object that can be transformed into a quitte object.

vars

A character vector. Usually just a single string. The variables to be plotted.

scales

A single string. choose either "free_y" or "fixed".

color.dim.name

name for the color-dimension used in the legend

Details

Creates a line plot showing single line plot of vars over time. Additionally target values given in variables of the form <vars>|target|<sth> are shown. The plot is shown.

Value

NULL is returned invisible.

Example Plots

showLinePlotsWithTarget.png

Examples

## Not run: 
data <- as.quitte(data)
showLinePlotsWithTarget(data, "Emi|GHG")

## End(Not run)

pik-piam/mip documentation built on April 5, 2024, 12:31 p.m.