write.FLStock {FLCore} | R Documentation |
This function exports stock data to file (currently, only "VPA" format is supported)
write.FLStock(FLStock, file, type = "VPA")
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") |
This function returns nothing. It is used for its side effect of creating files to export stock data
Laurence Kell
## 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'