search for: daysanyobi

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

Did you mean: daysanyobis
2011 Jul 08
0
homogenized cells problem with IF
...tches the number of days in the month. 4 ° For cases that do not, add new rows to the table with these dates and null value. Well, the fact is that R skips the rule and not know that I am wrong. Can you help? Copy the script piece of Interest: daysanyo<-c(31,28,31,30,31,30,31,31,30,31,30,31) daysanyoBIS<-c(31,29,31,30,31,30,31,31,30,31,30,31) addfilas<-function(table){ table$year=substr(table[[3]],1,4) table$mes=substr(table[[3]],5,6) table$day=substr(table[[3]],7,8) table=subset(table,table$V3>="20000101" & table$V3<="20101231") table$year<-as.numeric(tabl...