Learn R Programming

TSstudio (version 0.1.4)

xts_to_ts: Converting 'xts' object to 'ts' object

Description

Converting 'xts' object to 'ts' object

Usage

xts_to_ts(xts.obj)

Arguments

xts.obj

a univariate 'xts' object

Examples

Run this code
# NOT RUN {
data("Michigan_CS", package = "TSstudio")
class(Michigan_CS)
ts_plot(Michigan_CS)
Michigan_CS_ts <- xts_to_ts(Michigan_CS)
ts_plot(Michigan_CS_ts)
# }

Run the code above in your browser using DataLab