Description Usage Arguments Value Author(s)
Reads binary data using the base function readBin
and recasts it into an array of custom dimensions.
1 2 3 4 5 6 7 8 |
filename |
path of the file to be loaded |
dim |
vector specifying the dimensions of the array |
bytes |
number of bytes per number in the binary file |
type |
character vector of length describing the data type: "numeric" (default), "double", "integer", "int", "logical", "complex", "character", "raw" |
signed |
logical. Only used for integers of sizes 1 and 2, when it determines if the quantity on file should be regarded as a signed or unsigned integer. |
endian |
endian-type ("big" or "little") of the file |
Returns an array of dimension dim.
Danail Obreschkow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.