remove columns with NAs from all dataframes in list
问题 I have a list made up of several data frames. I would like to remove all of the columns with NAs in each data frame. Note the columns to be removed are not the same in each data frame. Sample data provided below. Any suggestions much appreciated. WW1_Data <- structure(list(Alnön = structure(list(Site_Name = structure(1L, .Label = c("Alnön","Ammarnäs", "Anjan", "Bäcksand", "Fittjebodarna", "Flatruet", "Glen", "Idre", "Klångstavallen", "Kramfors", "Ljungdalen", "Ljungris", "Mårdsund", "Mörtsjön