prices_to_rdata: load a large csv file and will cast it as XTS data class...

Description Usage Value Examples

View source: R/prices_to_rdata.R

Description

load a large csv file and will cast it as XTS data class after save this as R data format

Usage

1
prices_to_rdata(filename)

Value

rdata

Examples

1
this will allow faster loading and calculation. XTS  is special time series package which handles and allow users to compute based on time frame windows.If user want to compute the return between date A and B, use do window(prices, start = A, end = B). xts class data is working for this method. dataframe, is not working since data frame sees a date as a character.

seungbochoi/private_Rpackage documentation built on May 17, 2019, 12:12 a.m.