[R] Select part of character row name in a data frame

Francesca PANCOTTO f.pancotto at unimore.it
Thu Oct 19 12:14:53 CEST 2017


Thanks a lot, so simple so efficient!

I will study more the grep command I did not know.

Thanks!


Francesca Pancotto

> Il giorno 19 ott 2017, alle ore 12:12, Enrico Schumann <es at enricoschumann.net> ha scritto:
> 
>  df[grep("strat", row.names(df)), ]


	[[alternative HTML version deleted]]



More information about the R-help mailing list