"surf" objectResample a "surf" object by writing it to a GIFTI, using the Connectome
Workbench to resample it, and then reading the new file.
resample_surf(surf, resamp_res, hemisphere = c("left", "right"))A "surf" object
The desired resolution
"left" or "right". Only used if not indicated by
surf$hemisphere. An error will be raised if it does not match the
hemisphere indicated in the intermediate written GIFTI.
The new surface