write.analyze: Write 3D array (analyze)

View source: R/reading-writing-functions.R

write.analyzeR Documentation

Write 3D array (analyze)

Description

Write a values object in two files using the analyze format (*.hdr, *.img)

Usage

write.analyze(values, variable = NULL, file.name, gzipped = FALSE)

Arguments

values

the values object

variable

the variable name (default: first variable in values).

file.name

the file name. Two files will be produced: <file.name>.hdr and <file.name>.img

gzipped

compress the file (boolean, optional)

Details

Note: with the analyze format only a single variable array from values can be saved in the same files.


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.