write.FLStock {FLCore}R Documentation

Write FLStock data to a file

Description

This function exports stock data to file (currently, only "VPA" format is supported)

Usage

write.FLStock(FLStock, file, type = "VPA")

Arguments

FLStock An FLStock object to be exported
file The name (and path) of the file to export the data
type The type of file (currently, only "VPA")

Value

This function returns nothing. It is used for its side effect of creating files to export stock data

Author(s)

Laurence Kell

See Also

FLStock, read.FLStock

Examples

## If the variable 'my.stk' contains an FLStock object, then

# write.FLStock(my.stk, file="c:/mydata/index")

## creates a VPA SUITE series a files containing stock data from 'my.stk'

[Package FLCore version 1.4-3 Index]