Skip to content
Prev 19190 / 63424 Next

Bug in xy.coords() or documentation error?

On Sat, 2006-01-21 at 13:12 -0500, Gabor Grothendieck wrote:
Thanks Gabor,

I must have missed that discussion whilst I was on vacation. If what you
say was the outcome of that discussion, it still means that the
documentation for xy.coords is in error, as you may *not* provide a
single argument 'x'.

If the intention is to keep the current behaviour - which is fine - then
the documentation should be changed, perhaps along the lines of:

    x, y: the x and y coordinates of a set of points. Alternatively, a
          single object 'x' can be provided if 'y = NULL' is also  
          supplied.

'object' might not be correct here - is a formula an 'object'?

Cheers,

Gav