spark: Generic spark line method for matrices or data frames, etc.

Description Usage Arguments Value See Also

View source: R/spark.R

Description

Generic spark line method for matrices or data frames, etc.

Usage

1
spark(data, width = c("data", "auto", "screen"), ...)

Arguments

data

The data to plot.

width

The width (number of characters) of the output. ‘data’ means that it will match the length of the data. ‘screen’ means that it will be scaled to match the width of the screen. ‘auto’ means ‘data’ if the length of the data is not longer than the screen width, and ‘screen’ otherwise.

...

Additional arguments to the various methods.

Value

Characacter vector containing the spark line(s).

See Also

Other spark: spark.default, spark.matrix


gaborcsardi/spark documentation built on July 26, 2017, 10:09 a.m.