Write a brainvoyager SMP file, which contains one or more vertex-wise data maps (stats or morphometry data).
write.smp.brainvoyager(filepath, bvsmp, smp_version = 3L)
character string, the output file
bvsmp instance, a named list as returned by read.smp.brainvoyager
.
integer, the SMP file format version to use when writing. Versions 2 to 5 are supported, but only versions 2 and 3 have been tested properly. Please report any problems you encounter. When converting between file versions (e.g., loading a v2 file and saving the result as a v5 file), some required fields may be missing, and for those without a default value according to the official spec, you will have to manually add the value you want in the bvsmp object before writing.
write.fs.morph.smp