Reputation: 59
I'm wondering if it is possible to change the contents of multiple cells in a table using R?
Consider this example: Example
I need to change the values 'Femini.' to 'Feminine'. The problem is that i have a great number of cells to change... Is there some command that help me doing this?
Thanks for the help, Luís
Upvotes: 1
Views: 175
Reputation: 1540
Say your dataframe is called df
df$Genre[df$Genre == 'Femini'] <- 'Feminine'
Upvotes: 1