Learn R Programming

ANTsR (version 0.3.3)

as.antsMatrix: as.antsMatrix

Description

convert types to an antsMatrix

Usage

as.antsMatrix(object, ...)

Arguments

object
An object
...
other parameters
elementtype
e.g. "float" or "double"

Examples

Run this code
as.antsMatrix(matrix(rnorm(10), nrow=2))

Run the code above in your browser using DataLab