Re: [R] NA value in list of data frame

2019-10-17 Thread Thevaraja, Mayooran
t: Friday, 18 October 2019 2:43 PM To: r-help Subject: [R] NA value in list of data frame Dear R-Help, I have a list of data frame that I import from excel file using read.xlsx command. sheets <- openxlsx::getSheetNames("rainfall.xlsx") test <- lapply(sheets,function(i) rea

[R] NA value in list of data frame

2019-10-17 Thread ani jaya
Dear R-Help, I have a list of data frame that I import from excel file using read.xlsx command. sheets <- openxlsx::getSheetNames("rainfall.xlsx") test <- lapply(sheets,function(i) read.xlsx("rainfall.xlsx", sheet=i, startRow=8, cols=1:2)) names(test) <- sprintf("%i", 1986:2015) And I got a dat