Поскольку я отмечу go, я дам общее решение.
Данные:
col <- sample(1:100, 5, replace=FALSE)
col <- c(col, ">200000")
df <- as.data.frame(col, stringsAsFactors = FALSE)
Решение 1:
df$col[df$col == ">200000"] <- "200000"
df$col <- as.integer(df$col)
Решение 2:
df$col <- replace(df$col, df$col == ">200000", "200000")
df$col <- as.integer(df$col)