write.ANALYZE(ttt, header=NULL, file)ttt to a file named file in ANLYZE file
format. header is a list that contains the header information
as documented by the Mayo Foundation. We give here a short summary. If
a value is not provided, it will be tried to fill it with reasonable
defaults, but do not expect fine results, if the entry has a special
important meaning (h.i. pixdim).
read.ANALYZE, write.AFNI## Example 1
write.ANALYZE(array(as.integer(65526*runif(10*10*10*20)),c(10,10,10,20)),
file="analyzefile")Run the code above in your browser using DataLab