Learn R Programming

tidyquant (version 1.0.9)

deprecated: Deprecated functions

Description

A record of functions that have been deprecated.

Usage

tq_transform(data, ohlc_fun = OHLCV, mutate_fun, col_rename = NULL, ...)

tq_transform_xy(data, x, y = NULL, mutate_fun, col_rename = NULL, ...)

Arguments

data

A tibble (tidy data frame) of data typically from tq_get().

ohlc_fun

Deprecated. Use select.

mutate_fun

The mutation function from either the xts, quantmod, or TTR package. Execute tq_mutate_fun_options() to see the full list of options by package.

col_rename

A string or character vector containing names that can be used to quickly rename columns.

...

Additional parameters passed to the appropriate mutatation function.

x, y

Parameters used with _xy that consist of column names of variables to be passed to the mutatation function (instead of OHLC functions).

Details

  • tq_transform() - use tq_transmute()

  • tq_transform_xy() - use tq_transmute_xy()

  • as_xts() - use timetk::tk_xts()

  • as_tibble() - use timetk::tk_tbl()

  • summarise_by_time() - Moved to timetk package. Use timetk::summarise_by_time()