You could use the same inds variable again :

df$Comment <- ''
df$Comment[inds] <- 'Prefixed with an x'

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top