dyplot: Dynamic time series plots (wrapper to dygraph)

Description Usage Arguments

View source: R/dyplot.r

Description

The function is a wrapper to the dygraph function in the package dygraph. It shows time series plots with interactive java script. While dygraph needs an xts time series object, dyplot works with a data frame. Missing observations can be filled if period is provided.

Usage

1
2
dyplot(data, xcol = colnames(data)[1], ycol = setdiff(colnames(data), xcol),
  interval = NULL)

Arguments

data

a data.frame

xcol

name of the column with the x-Axis variable. Ideally a datetime object

ycol

names of the columns that are shown on the yaxis

interval

if you have missing rows you can specify the interval of you data, e.g. "day" or "year" or "hour" to fill the gaps


skranz/sktools documentation built on April 12, 2021, 11:43 a.m.