Re: [R] Working with text data/text operators

2010-01-19 Thread Dieter Menne
Mihai.Mirauta wrote: > > > Could someone tell me, how can I select from a dataframe only those > columns whose names contain a certain text? > > For example, if the column names are > "Bond1.Creditclass","Bond1.Price","Bond2.Creditclass","Bond2.Price", how > do I select only the columns corres

Re: [R] Working with text data/text operators

2010-01-19 Thread Romain Francois
On 01/19/2010 01:22 PM, mihai.mira...@bafin.de wrote: Hello, Could someone tell me, how can I select from a dataframe only those columns whose names contain a certain text? For example, if the column names are "Bond1.Creditclass","Bond1.Price","Bond2.Creditclass","Bond2.Price", how do I se

[R] Working with text data/text operators

2010-01-19 Thread Mihai.Mirauta
Hello, Could someone tell me, how can I select from a dataframe only those columns whose names contain a certain text? For example, if the column names are "Bond1.Creditclass","Bond1.Price","Bond2.Creditclass","Bond2.Price", how do I select only the columns corresponding to Bond1? Thanks a l