View source: R/UpdateHeaderTSD.R
UpdateHeaderTSD | R Documentation |
Updates headers of TSD files for which extra rows of zeros was reserved using the option 'reserve' in write.TSD. If fewer rows of zeros was reserved, than the number of time steps to append to the TSD file, UpdateHeaderTSD() will cause trouble.
UpdateHeaderTSD(filename, lvar, pos, endian = "big")
filename |
is the name of the TSD file for which the header is to be updated. |
lvar |
is the variable lengths vector given as c(lvar_1_1, lvar_1_2, ... , lvar_1_nvar, lvar_2_1, lvar_2_2, ... , lvar_2_nvar, ... , lvar_numt_1, lvar_numt_2, ... , lvar_numt_nvar). |
pos |
is the position in bytes from the start of the file, at which the header is to be updated. |
endian |
is the endian of the existing TSD file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.