r

Update multiple NA columns to 0

How to efficiently update multiple columns from NA to 0? Don’t want to update all NA to 0. Only certain columns need be updated.
My current solution: Is there a better method?
dataframe$col1 = replace(agencyCRTDataFromYBForProdRunResultsEn…

filter rows that have either or specific folds

I’m still learning R, I have this dataset, it has 5 columns, first column is tracking_id, the next four columns have values of four groups.
I want to filter rows after comparing the last three columns ("CD44hi_CD69low_rep","…