I have multiple xlsx data files with different number of rows. How can I merge them into a data frame? My code
library(readxl)
fnames <- list.files()
xlxs <- lapply(fnames, read_xlsx)
a<-data.frame(xlxs)
But the last line does not work since number of rows are not same for all files.