as_mgh: Create an object that is structured like an mgh object

Description Usage Arguments

View source: R/io_mgh.R

Description

Create an object that is structured like an mgh object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
as_mgh(
  x,
  v = NULL,
  ndim1 = NULL,
  ndim2 = NULL,
  ndim3 = NULL,
  nframes,
  type,
  dof
)

Arguments

x

the vertex-wise values

v

Version (default = 1)

ndim1

Width / 1st dimension

ndim2

Height / 2nd dimension

ndim3

Depth / 3rd dimension

nframes

Number of scalar components

type

Data type, can be UCHAR (0), SHORT (4), INT (1) or FLOAT (3)

dof

Degrees of freedom


slamballais/QDECR documentation built on Jan. 9, 2022, 1:22 p.m.