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

2019-10-18 Thread ani jaya
Thank you very much everyone. All fine now!! On Fri, Oct 18, 2019 at 11:42 AM Rolf Turner wrote: > > On 18/10/19 2:43 PM, ani jaya wrote: > > > Dear R-Help, > > > > I have a list of data frame that I import from excel file using read.xlsx > > command. > > > > sheets <- openxlsx::getSheetNames(

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

2019-10-17 Thread Rolf Turner
On 18/10/19 2:43 PM, ani jaya wrote: 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) <