Displaying 1 result from an estimated 1 matches for "5nm".
Did you mean:
50m
2007 Jun 07
1
Averaging across rows & columns
...replicates should be averaged every 14
rows (for more detail, to measure fruit color using a spectrometer, I
recorded three readings per fruit -replicates- that I need to average to get
one reading per fruit; each row is a point in the light spectrum and I need
to calculate an average reading every 5nm -14 rows- for each fruit).
Someone proposed to another user who wanted an avg across columns to do
a <- matrix(rnorm(360),nr=10)
b <- rep(1:12,each=3)
avgmat <- aggregate(a,by=list(b))
I tried doing this to get started with the columns first but it asks for an
argument FUN that has no d...