I am using the following code to try to replace cells in the column of a dataframe:
DMS_Sync_Report$Valid.Last.Sync...Temp. <- as.numeric(DMS_Sync_Report$Valid.Last.Sync...Temp.)
DMS_Sync_Report$Valid.Last.Sync...Temp.[which(DMS_Sync_Report$Valid.Last.Sync...Temp.> 3)] <- ">3days"
DMS_Sync_Report$Valid.Last.Sync...Temp.[which(DMS_Sync_Report$Valid.Last.Sync...Temp.<= 3)] <- "<3days"
DMS_Sync_Report$Valid.Last.Sync...Temp.[which(is.na(DMS_Sync_Report$Valid.Last.Sync...Temp.))] <- ">3days"
Data Set : Needs to replace the columns with ">3days" and "3days"
The above code is not giving the right results