createLine: Create line plot with user-specific line highlighted.

Description Usage Arguments Value

View source: R/functions.R

Description

Create line plot with user-specific line highlighted.

Usage

1
2
3
createLine(userToken, data, xlength, dim = "", xlabs = NULL,
  dimnames = NULL, legendtitle = "", ylimMin = 0, ylimMax = NULL,
  xrotate = FALSE)

Arguments

userToken

A user-specific password to show user position on the plot.

data

An input data frame.

xlength

The length of x-axis/ The number of variables.

dim

Manually selected dimension (tab) highlighted when the relevant tab is selected. (optional)

xlabs

A character vector of x-axis tick labels with length equal to xlength. (optional)

dimnames

A chacter vector representing line labels in the legend. (optional)

legendtitle

Title of the legend. (optional)

ylimMin

Lower limit of y-axis. (optional)

ylimMax

Upper limit of y-axis. (optional)

xrotate

If TRUE, rotate x-axis tick labels by 90 degree. (optional)

Value

A plot with multiple lines.


urwa/shinyscaffold documentation built on May 25, 2019, 8:28 p.m.