search for: fruehling

Displaying 1 result from an estimated 1 matches for "fruehling".

Did you mean: freeling
2012 Oct 16
1
data dividing
hey I'd like to divide my data into four seasons. for this I made a function: Jahreszeit <- function(x) { if (x<=02 || x==12) {return("Winter") }else{ if (x>=03 && x<=05) {return("Fruehling") }else{ if (x>=06 && x<=08) {return("Sommer") }else{ if (x>=09 && x<=11) {return("Herbst") }}}}} Now, I have some trouble to apply this function. I tried lapply(), sapply() and tapply() but everytime i get for every month just "Winter&quo...