Displaying 1 result from an estimated 1 matches for "tp2253239p2253239".
2010 Jun 13
0
Weighted Average application on Summary Dataset
...BY N
WA<-function(A,N) {
sp_A<-c(A %*% N)
sum_N<-sum(N)
WA<-sp_A/sum_N
return(WA)
}
Thanks in advance!
Raoul
--
View this message in context: http://r.789695.n4.nabble.com/Weighted-Average-application-on-Summary-Dataset-tp2253239p2253239.html
Sent from the R help mailing list archive at Nabble.com.