It is matched by the first argument which is called "from" even though,
as the documentation indicates under the explanation of the last
form, it refers to the ending value.  Note, for example, that
seq(from = 3) gives 1:3 and not 3:1.

Also the help file does say:

    "The interpretation of the unnamed arguments of 'seq' is _not_
     standard, ..."

On 4/21/06, Vivek Satsangi <[EMAIL PROTECTED]> wrote:
> (Sorry about the last email which was incomplete. I hit 'send' accidentally).
>
> I looked at ?seq. One of the forms given under "Usage" is seq(from).
> This would be the form used if seq is called with only one argument.
> However, this should actually say seq(to). For example,
> > seq(1)
> [1] 1
> > seq(3)
> [1] 1 2 3
>
> Cheers,
> --
> -- Vivek Satsangi
> Rochester, NY USA
>
> ______________________________________________
> [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
>

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