try running it on a grid within "system.time()"
And the answer will be revealed.

Tal





On Thu, Sep 17, 2009 at 3:15 PM, Peng Yu <pengyu...@gmail.com> wrote:

> Hi,
>
> Suppose 'x' is a vector of length n and 'y' is a vector of length m, I
> am wondering what the time complexity of 'match(x,y)' is. Is it n
> times m?
>
> Regards,
> Peng
>
> ______________________________________________
> 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.
>



-- 
----------------------------------------------


My contact information:
Tal Galili
Phone number: 972-50-3373767
FaceBook: Tal Galili
My Blogs:
http://www.r-statistics.com/
http://www.talgalili.com
http://www.biostatistics.co.il

        [[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