Displaying 3 results from an estimated 3 matches for "lacuna".
Did you mean:
hacuna
2011 Mar 14
2
*Building* a covariance matrix efficiently
...g the calculation of the full symmetric matrices XX'. The
trivial non-optimal approach boils down to something like:
Q <- matrix(rnorm(100000),ncol=200)
M <- matrix(0,ncol=200,nrow=200)
for (i in 1:nrow(Q))
M <- M + tcrossprod(Q[i,])
I would appreciate pointers to help me fill this lacuna in my R skills :)
Cheers,
Tsjerk
--
Tsjerk A. Wassenaar, Ph.D.
post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands
2009 Dec 11
1
Calendar week ISO (PR#14132)
Hi there
=20
I use Gnu R sometimes at work.=20
=20
Unfortunately we use Windows and R has problems with getting the calendar
week number with the first week as the one which has at least 4 days. A
colleague told me that he has the same problem.=20
=20
Below you can see what I use now, for finding the right week.=20
=20
=20
Kind regards,=20
Samuel Andreas Meichtry
=20
=20
2012 Aug 13
4
dimnames in an array(I'll be grateful if this message will be passed to all list users)
Hello,
I'm hoping someone with a wide experience with R may be able to see
what the program is trying to tell me.
I've got an array:
y1=rnorm(41,0.2)
y2=rnorm(41,0.2)
y3=rbind(y1,y2)
data11<-array(0,c(41,2,2))
data11[,1,]=y3
data11[,2,]=y3
rownames(data11)<-rownames(data11, do.NULL = FALSE, prefix = "Obs.")
colnames=c("V","R")