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 lot,

Mihai


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to