On Fri, 21 Apr 2006, Duncan Murdoch wrote:
On 4/21/2006 9:26 PM, Vivek Satsangi 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
I looked at ?seq
--
-- Vivek Satsangi
Rochester, NY USA
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
(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
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
On 4/21/2006 9:26 PM, Vivek Satsangi 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