DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+5 =
Submit