is.nrrd | R Documentation |
Check if a file is a NRRD file
is.nrrd(f = NULL, bytes = NULL, ReturnVersion = FALSE, TrustSuffix = FALSE)
f |
A character vector specifying the path or a raw vector with at least 8 bytes. |
bytes |
optional raw vector of at least 8 bytes from the start of a
single file (used in preference to reading file |
ReturnVersion |
Whether to return the version of the nrrd format in which the file is encoded (1-5). |
TrustSuffix |
Whether to trust that a file ending in .nrrd or .nhdr is a NRRD |
Note that multiple files can be checked when a character vector of length > 1 is provided, but only one file can be checked when a raw byte array is provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.