powered by
convert types to an antsMatrix
as.antsMatrix(object, ...)# S4 method for list as.antsMatrix(object, elementtype = "float")# S4 method for data.frame as.antsMatrix(object, elementtype = "float")# S4 method for matrix as.antsMatrix(object, elementtype = "float")
# S4 method for list as.antsMatrix(object, elementtype = "float")
# S4 method for data.frame as.antsMatrix(object, elementtype = "float")
# S4 method for matrix as.antsMatrix(object, elementtype = "float")
An object
other parameters
e.g. "float" or "double"
list:
list
data.frame:
data.frame
matrix:
matrix
# NOT RUN { as.antsMatrix(matrix(rnorm(10), nrow=2)) # }
Run the code above in your browser using DataLab