Hi,
May be this helps:
tb[1,]%*%(((val-rep(meansb79[1,],5))^2)/6)
# [,1]
#[1,] 1.47619
tryvarb-c(1,2,3,4,4,4,4)
var(tryvarb)
#[1] 1.47619
tb[2,]%*%(((val-rep(meansb79[2,],5))^2)/6)
# [,1]
#[1,] 1.904762
sapply(seq_len(nrow(tb)),function(i)
Thanks so much Arun. If you have time, what reference do you use to learn
seq_len(nrowâ¦etc and other aspects of your code?
Again. Thanks very much. Jan Beckstrand
From: arun kirshna [via R] [mailto:ml-node+s789695n4664037...@n4.nabble.com]
Sent: Friday, April 12, 2013 2:01 AM
To:
To: smartpink...@yahoo.com
Cc:
Sent: Friday, April 12, 2013 1:05 PM
Subject: FW: [R] processing matrix equation derived from rows of two matrices
Thanks so much Arun. If you have time, what reference(s) do you use to
learn the techniques like seq_len(nrow etc and other aspects of your
code?
Again
3 matches
Mail list logo