powered by
Creates a basic list that can be used to write a .hdr file
f.basic.hdr.list.create(X, file.hdr)
Array that is to be converted to a .img file
Name of the .hdr file that will be created
Returns a list of all the fields needed to create a .hdr file (see the functions code for details).
f.write.list.to.hdr, f.analyze.file.summary
f.write.list.to.hdr
f.analyze.file.summary
# NOT RUN { a<-array(rnorm(20*30*40*3),dim=c(20,30,40,3)) file<-"temp.hdr" f.basic.hdr.list.create(a, file) # }
Run the code above in your browser using DataLab