search for: base79

Displaying 1 result from an estimated 1 matches for "base79".

2013 Apr 12
2
processing matrix equation derived from rows of two matrices
...equations and an attempt to process it for each row. I got >the strategies from reading the r-help, but neither works. (I do not understand the syntax well enough.) Any suggestions. ?(I need to do may :>additional matrices in the same way.) Thanks. Jan >require(combinat) >n=7 >base79<-combn(c(1,2,3,4,4,4,4,5,5), n, tabulate,nbins=5) #find all samples,n=7 (gives cols of ?7 cases ?in sample like 1 1 1 4 0 ) >tb<-t(base79) >val<-c(1,2,3,4,5) ?#values on the scale >meansb79<-t(base79)%*% (val/7) >tb[ ,1])%*%(((val-rep(meansb79[1,],5))^2)/6) ? #computes...