Hi
My data looks like this:
data.frame(
stringsAsFactors = FALSE,
species = c("Bubasis agape agape",
"Bubasis agape","Bubasis agape","Bubasis agape",
"Bubasis agape ruby","Bubasis agape ruby","Bubasis agape ruby",
"Bubasis agape")
)
Some of these species names have a subspecies name attached as well, and I'm wondering if it's possible to write a code that removes the third word within each row of a particular column?
Thank you!!