How can I merge data frame df and "tem" shown below by filling the head of "tem" with missing values?
a<- rnorm(1825, 20) b<- rnorm(1825, 30) date<-seq(as.Date("2000/1/1"), by = "day", length.out = 1825) df<-data.frame(date,a,b) tem<- rpois(1095, lambda=21) Thanks ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.