search for: bycol

Displaying 2 results from an estimated 2 matches for "bycol".

Did you mean: mycol
2010 Jun 01
2
Problem using apply
...(1,4,7,4,5,8,7,8,9), nrow = 3 ) divideByMean = function( v ){ return( v/mean(v)) } rowMean = c( mean( m[1,]),mean( m[2,]),mean( m[3,]) ) rowMean colMean = c( mean( m[,1]),mean( m[,2]),mean( m[,3]) ) colMean m print("ByRow") apply( m, 1, divideByMean) print("ByCol") apply( m, 2, divideByMean) [[alternative HTML version deleted]]
2013 May 13
2
reduce three columns to one with the colnames
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130513/fe848ce7/attachment.pl>