ts_plot: Time Series Beautiful Plots

Description Usage Arguments Author(s) Examples

View source: R/ts_plot.R

Description

This function creates a plot for a time series object using different engines. Corresponding libraries will be loaded.

Usage

1
ts_plot(x, interactive = F, engine = "ggplot")

Arguments

x

A time series.

interactive

Set to FALSE for base R and ggplot2 plots and TRUE for plotly and highcharter. Defaults to TRUE.

engine

Library to be used to create the plot, can be any of "base" "ggplot", "plotly" and "highcharter". Defaults to "ggplot".

Author(s)

David Alberto Mateos Montes de Oca.

Examples

1
2

alberto-mateos-mo/tsextras documentation built on Feb. 3, 2020, 12:03 a.m.