data cleaning - how to remove one label from dataframe in r -


i working on dataset bookdata.tsv.gz first assignment.of book labels, need exclude title "wild animus" analysis.how can ? beginner little explanation code chunk appreciated. thanks

try:

subset(dataframe, select = -c(wild.animus)) dataframe[, -grep('wild', colnames(dataframe))] dataframe[, -grep('animus', colnames(dataframe))] dataframe[, -grep('wild animus', colnames(dataframe))] 

Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -