pixunits = function(xyzt_units) {
img = updateNifti(
image = array(1, dim = rep(1, 3)),
template = list(xyzt_units = xyzt_units))
attributes(RNifti::niftiHeader(img))$pixunits
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.