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
Post a Comment