Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

delete rows by rowname in R

> row_names_df_to_remove<-c("A","B","C","D","E")
> df[!(row.names(df) %in% row_names_df_to_remove),]
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #delete #rows #rowname #R
ADD COMMENT
Topic
Name
5+1 =