Skip to content
Prev 140139 / 398506 Next

mapply

On Sun, Mar 23, 2008 at 11:06:05AM -0400, Mark Leeds wrote:
Mark, there is no recycling here. rawdata[1] is the first column of the data frame, 
rawdata[2] is the second, etc. and the mapply construct is just calculating

rawdata[1] / sens[1]
rawdata[2] / sens[2]
rawdata[3] / sens[3]

data.frame() is only needed because the result of mapply would be a matrix
otherwise.

(the other (?)) Gabor