After searching for some time for an appropriate answer, I could not find any that would solve my problem. (Typical topics with "Deleting columns with all "NA" values" or only focused on rows)
I have a large dataset of 384 rows and 214 variables and I would like to replicate the same matrix while removing any columns that contain the value "NA" in any of its rows. (No rows have to be deleted)
I have tried multiple codes but I get only a vector of "TRUE" and "FALSE".
Any help would be appreciated as I'm new to R, there is maybe a package that can be useful that I'm not aware of yet.