ReadTS | R Documentation |
Reads in a TS file.
ReadTS(FileName, InDirectory = getwd(), ForceNumeric = FALSE)
FileName |
Filename of *.TS file |
InDirectory |
InDirectory where *.TS file is, default: Current dir |
ForceNumeric |
TRUE: saves numeric format of series, FALSE: Accepts text |
List with
Series |
[1:n,1:2] matrix of Time and Seriesval, 1st column is Unix time or time in seconds, unique index from first column, Series contained in Column 2, without blanks |
FurtherTexts |
[1:n,1:c] vector or matrix, containing the further text rows. Only returned if FurtherTexts are in the *.TS file |
Header |
[1:(2+c)] vector of column names for Time and SeriesVal plus c column names of further text rows that can be in the *.TS file. If no further texts are present c is 0 |
Comments |
[1:k] vector, strings of all lines of Comments, without the leading "#" |
Michael Thrun
WriteTS
WriteTS("ElectricityBRD", ElectricityBRD$Time, ElectricityBRD$Mrd_KWh, Comments="Electricity production in BRD")
V=ReadTS("ElectricityBRD")
V$Series
V$Header
V$Comments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.