Displaying 4 results from an estimated 4 matches for "avg2".
Did you mean:
arg2
2006 Dec 17
2
Collapsing across trials
...2 D (AVG)
Where (AVG) is the average of the 10 trials.
The above is a simplified case. How can I do this with multiple RT
measurements per subject? In other words, the above, but with more
than one RT column per subject.
Resulting in:
Subj List Condition RT1 RT2 RT3 RT4 RT5
2 1 C (AVG1) (AVG2) (AVG2) (AVG2) (AVG2)
3 2 C (AVG1) (AVG2) (AVG2) (AVG2) (AVG2)
2 1 D (AVG1) (AVG2) (AVG2) (AVG2) (AVG2)
3 2 D (AVG1) (AVG2) (AVG2) (AVG2) (AVG2)
I've come across the apply and aggregate functions in online
documentation, and I have the suspicion that they may be called for
here, but their a...
2009 Oct 14
1
change order of bar plot categories
Is this what you want?
temp<-c(rep("Low",2),rep("Medium",2),rep("High",2))
light<-rep(c("Dark","light"),3)
avg<-dat.avg2[,3] #
se<-dat.avg2[,4]
dat.avg.temp<-data.frame(cbind(avg,se))
dat.avg.temp<-data.frame(cbind(temp,light,dat.avg.temp))
dat.plot<-qplot(light,avg, fill=factor(temp),data=dat.avg.temp,
geom="bar", position="dodge") + scale_fill_discrete("Temp",labels=c('...
2005 Nov 15
2
Subtracting timeseries objects
Sorry to keep posting but I want to do this right and I'm hoping for
some pointers
I now have two time series objects which I need to subtract.
Unfortunatly the two series dont have the same sample rates.
When I try to subtract them
avgSub<-avg1-avg2
The time series object is clever enough to object.
So I guess I need to write a function for subtraction of the time series
objects which will need to interpolate the samples to the same sampling
time (this linear interpolation should be ok here)
I would like to make this function the default one...
2010 Feb 12
2
Average of a variable against another.
Dear helpers,
FYI, I am a beginner of R, just have dealt with MATLAB or JAVA.
I want to know how to solve one problem given 4 variables: year_1, year_2,
tall_1, tall_2.
The tall_1 is measured at year_1 and tall_2 at year_2.
The tall has grown up such as uniformly 1 cm/yr.
The data is like
year_1 year_2 tall_1 tall_2
2007 2010 12 15
1999 2009 6 16
2003 2005 11 13