xtsToRegressionData: Convert xts to regression-ready data frame

View source: R/xtsConversion.R

xtsToRegressionDataR Documentation

Convert xts to regression-ready data frame

Description

DEPRECATED. Use tidy() instead.

Usage

xtsToRegressionData(x)

Arguments

x

An xts matrix

Details

The three output columns are:

  • date - Taken from xts index

  • symbol - Taken from xts column names

  • value - Taken from the matrix cell at the intersection of date and symbol

Value

A data frame with columns date, symbol, and value


pteetor/tutils documentation built on April 25, 2024, 9:14 a.m.