On Tue, 19 Oct 2004, Vadim Ogranovich wrote:

Hi,

Is it possible to search for help pages that meet more than one criteria
at a time? Say I want to search for all help pages that mention
"cross-validation" AND "bootstrap". How do I do this?


I think you have to intersect them afterwards

a<-help.search("bootstrap")
b<-help.search("cross-validation")
both<-intersect(a$matches[,1],b$matches[,1])
a$matches<-a$matches[both,,drop=FALSE]
a

        -thomas

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to