That's very helpful Michael, thank you. I will add it to the arsenal.
--
View this message in context:
http://r.789695.n4.nabble.com/Covariance-Variance-Matrix-and-For-Loops-tp3859441p3863098.html
Sent from the R help mailing list archive at Nabble.com.
_
Hello again,
sapply works.
However it does not explicitly call a simplify function, but rather seems to
handle the case within its own body of code. I should be able to figure out
basically what simplify2array does from the code though.
function (X, FUN, ..., simplify = TRUE, USE.NAMES = TRUE)
Thank you Michael.
I think my initial problem may have been due to a 'clerical error' upriver,
so I appreciate you taking the time to give me this help.
Unfortunately, my version of R does not contain simplify2array() and does
not find it in help (?simplify2array) - which is strange because I jus
Hello,
I am very new to R (as my Subject probably indicates).
I want to do something that should, I think, be very simple. I have five
vectors in a list and I want to construct a covariance matrix out of them.
Given a 5X5 matrix cvm1, and the list of vectors, cvm1_list, I thought the
following w
4 matches
Mail list logo