Displaying 2 results from an estimated 2 matches for "mpfrmatrix".
2013 Sep 20
1
Rmpfr question
...veryone,
R beginner, I am confronted with the need to use Rmpf.
In my first scripts I made use of
X=read.table(file.choose(), header=FALSE, sep=",",dec=".")
X=as.matrix(X)
to load into a matrix data from file before matrix use.
How can I do to load the same data in a "mpfrMatrix".
Is it possible to use with "mpfrMatrix" the same as operations
M1%*%M2
scale(M1,TRUE,FALSE)
Sorry but I'm a newbe
Thanks in advance
Michel
[[alternative HTML version deleted]]
2012 Jul 07
1
creating a '[' method for an S4 class
Hi,
I'm working on an S4 class that is expected to behave like an array.
I have some difficulties when defining '[' and I wonder if someone
could point me to the right direction:
1) Call the S4 object "obj"
2) Assume dim(obj) = c(10, 4, 2)
3) Suppose someone calls: obj[1:3,] , which is a mistake, given
dim(obj); how do I detect such situations?
Thank you very much for