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 corresponding to Bond1? >
See Wacek's https://stat.ethz.ch/pipermail/r-help/2009-February/187462.html Dieter -- View this message in context: http://n4.nabble.com/Working-with-text-data-text-operators-tp1017490p1017837.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.