Skip to content
Prev 200311 / 398502 Next

re move row if the column "date_abandoned" has a date in it

On Nov 15, 2009, at 11:00 AM, frenchcr wrote:

            
They are actually 2 characters wide.
If you want to "remove" the ones that are _not_ 8 characters long, then:

new_data5 <- new_data4[nchar(new_data4$date_abandoned) != 8, ]

or:

new_data5 <- subset(new_data4, date_abandoned != 8)