get.dti.trk.endianness | R Documentation |
Determine endianness of TRK file.
get.dti.trk.endianness(filepath)
filepath |
character string, path to file in trk format. |
endina character string. one of 'little' or 'big'.
This function checks endiannes via the header size field of the file header, which must be 1000 for TRK files when read with correct enianness. It will stop if the file is not in TRK format, i.e., if the field is not 1000 in any endianness.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.