Displaying 3 results from an estimated 3 matches for "friderike".
2008 Jul 14
2
aggregate months to years
...t would show me the
FREQ per year and not per month?
barplot(as.vector(ex))
# Sorry for the bad example, of course my data.frame is much bigger and the
barplot gives me a nice monthly time series of events, but I really only want
the occurrences per year, not per month.
Grateful for your advice!
Friderike
2008 Jul 29
2
'for' loop, two variables
...;46 & x<52 & y<12) 1 else 0 }
res <-NULL
for (i in 40:60 & j in 0:20) res <-c(res,fn(i,j))
# How do I have to write the expression "i in 40:60 & j in 0:20"? Or is there
no way to do that, i.e. I have to do the calculation in two steps?
Thanks in advance!
Friderike
[[alternative HTML version deleted]]
2008 Jul 14
1
rm(l*)
...t; ls()
"a","b","c","l1","l2","x"
> rm(list=ls("l*"))
> ls()
"a","b","c",""x"
Is there some parallel to the MySQL query: where col1 like "l%"
Thanks a lot in advance,
Friderike
[[alternative HTML version deleted]]