read.write.fts {fts}R Documentation

Read / Write Files

Description

Read / Write files to csv or .RDS format

Usage

read.csv.fts(file, date.column=1, date.format="%Y-%m-%d", ...)
write.csv.fts(x, file, ...)

Arguments

x

An Fts object

file

filename of file to read/write

date.column

column that = the dates are in

date.format

the format of the date strings

...

further arguments to underlying read/write functions

Value

a Fts object for functions that read data

Author(s)

Whit Armstrong

Examples

x <- fts()
colnames(x) <- "big.ass.black.dog"

csv.fname <- paste(tempfile(),".csv",sep="")
write.csv.fts(x,csv.fname)
y.csv <- read.csv.fts(csv.fname)

all.equal(x,y.csv)

[Package fts version 0.7.7 Index]