[R] Minor documentation issue
ggrothendieck at gmail.com
Sat Apr 22 03:39:29 CEST 2006
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_
On 4/21/06, Vivek Satsangi <vivek.satsangi at gmail.com> 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
> > seq(3)
>  1 2 3
> -- Vivek Satsangi
> Rochester, NY USA
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help