Displaying 1 result from an estimated 1 matches for "tp4648112p4648130".
Did you mean:
tp4648112p4648131
2012 Nov 01
4
Loop over several variables
Hey everybody,
I am looking for a way to loop commands over several variables in a
dataframe. Basically I want to do something like this:
ti1<-aggregate(dataframename$y1,
by=data.frame(dataframename$aggregationvar),
sum,na.rm=TRUE)
This works fine as it is but i want to do it for several variables thereby
generating several tix. I tried with a for-loop but the