Displaying 1 result from an estimated 1 matches for "antsmatrix".
2012 Sep 19
1
different behavior accessing type-specific as.data.frame inside a function vs inside R shell
hello
we are developing an R package called ANTsR for which we have some special
types.
one of these types is an " antsMatrix " type.
we implemented a "as.data.frame" function that casts an antsMatrix to a
data.frame
this works fine in a basic shell script. for instance:
# install
R CMD INSTALL ANTsR
# open
R
# in R do
library(ANTsR)
a <- new( "antsMatrix", "float" )
b <- as.d...