Displaying 3 results from an estimated 3 matches for "matm".
Did you mean:
math
2012 Jul 24
1
Problem building dll in R-2-15-1
I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f I get the following error:
> R CMD SHLIB matm.f
gfortran -O3 -mtune=core2 -c matm.f -o matm.o
f951.exe: out of memory allocating 312 bytes
make: *** [matm.o] Error 1
Can someone please help
NJ
________________________________
E-pos vrywaringsklousule Hierdie e-pos mag vert...
2012 Mar 12
1
2 images on one plot
...nto one picture
so that in one cell in image picture are both values from mat[1,1] and
mat2[1,1].
mat<-matrix(1:4, 2,2)
mat2<-matrix(4:1,2,2)
x <-1:2
y <-1:2
image(x, y, mat)
image(x, y, mat2)
The only way I found is to mix x or y for both matrices let say
xm <- sort(c(x,x+.5))
matm <- cbind(mat[,1], mat2[,1], mat[,2], mat2[,2])
image(xm,y,t(matm))
which lacks of elegance and is rather complicated when considering matrix
with more rows and columns.
Looking forward to any hint.
Regards
Petr
2011 Jul 21
2
Latex Table Help on R
Hello everyone,
Peter (see my earlier post) recommended the following script for finding the
means and standard deviations and putting them in table form.
However, I would like the standard deviations under the means in brackets.
Can anyone check this code to see how this can be adjusted?
library(xtable)
dataset1 = matrix( c(1,2,3,4, 5, 6 ), 2 , 3)
dataset2 = matrix( c(4,3,5,10, 1, 0), 2, 3)