Dimension information for a LSD results file
This function reads some dimension information from a LSD results file (.res): number of time steps, number of variables and the original column (variable) names.
the name of the LSD results file which the data are to be read from. If it does not contain an absolute path, the file name is relative to the current working directory, getwd(). Tilde-expansion is performed where supported. This can be a compressed file (see file) and must include the appropriated extension (usually .res or .res.gz).
The returned number of time steps does not include the initial value (t = 0) for lagged variables (the second line of a .res format file).
Returns a list containing two integer values and a character vector describing the selected results file.
Number of time steps in file
Number of variables (including duplicated instances) in file
Names of variables (including duplicated instances) in file, after R name conversion
Marcelo C. Pereira
1 2 3 4 5 6 7 8 9
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.