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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -