f.write.list.to.hdr | R Documentation |
Writes a list of attributes to a .hdr file
f.write.list.to.hdr(L,file,path.out=NULL)
L |
A list of all the fields included in a .hdr file |
file |
The name of the file to write, preferably with .hdr suffix |
path.out |
The path where to write the file (mandatory argument, even if the default value is NULL for backward compatibility) |
Nothing is returned
f.basic.hdr.list.create
a <- array(rnorm(20 * 30 * 40 * 3), dim = c(20, 30, 40, 3))
file <- "temp.hdr"
b <- f.basic.hdr.list.create(a, file)
tmpdir <- tempdir()
f.write.list.to.hdr(b, file, path.out = tmpdir)
unlink(tmpdir) # tidy up
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.