Sun == Sun [EMAIL PROTECTED]
on Wed, 27 Oct 2004 04:25:00 -0500 writes:
Sun Thank you. I found there are two ellipses
Sun 1.
Sun R2.0
Sun library (car)
Sun 2.
Sun R1.9 and R2.0
Sun library (ellipse)
Sun And they are different! I can't run 1.
Sun But
library (ellipse)
shape1 = c (1, 0, 0,1)
dim(shape1) = c(2,2)
ellipse (center = c(0,0), shape = shape1, radius = 1)
=
Error in plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) :
plot.new has not been called yet
It is really frustrating.
On Wed, 2004-10-27 at 11:34, Sun wrote:
library (ellipse)
shape1 = c (1, 0, 0,1)
dim(shape1) = c(2,2)
ellipse (center = c(0,0), shape = shape1, radius = 1)
=
Error in plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) :
plot.new has not
Hi
Did you read what ellipse does and how it shall be used?
And what about your system, R and ellipse version?
From your example i got
ellipse (center = c(0,0), shape = shape1, radius = 1)
Error in ellipse.default(center = c(0, 0), shape = shape1, radius =
1) :
Argument x is
an ellipse keeps giving errors
The error message is telling you that it expects a plot to already be
there. You can do something like:
plot(-2:2, type='n')
Patrick Burns
Burns Statistics
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and A Guide
- Original Message -
From: Petr Pikal [EMAIL PROTECTED]
To: Sun [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:14 AM
Subject: Re: [R] ploting an ellipse keeps giving errors
Hi
Did you read what ellipse does and how it shall be used?
And what about your system, R
On Wed, 2004-10-27 at 12:04, Jari Oksanen wrote:
On Wed, 2004-10-27 at 11:34, Sun wrote:
library (ellipse)
Here's your problem! See below.
shape1 = c (1, 0, 0,1)
dim(shape1) = c(2,2)
ellipse (center = c(0,0), shape = shape1, radius = 1)
=
Error in
Sent: Wednesday, October 27, 2004 5:25 AM
To: Petr Pikal
Cc: [EMAIL PROTECTED]
Subject: Re: [R] ploting an ellipse keeps giving errors
Thank you. I found there are two ellipses
1.
R2.0
library (car)
2.
R1.9 and R2.0
library (ellipse)
And they are different! I can't run 1.
But the 2. is kind
PROTECTED] On Behalf Of Sun
Sent: Wednesday, October 27, 2004 5:09 AM
To: Patrick Burns
Cc: [EMAIL PROTECTED]
Subject: Re: [R] ploting an ellipse keeps giving errors
Thanks a lot. I added that line.
library(ellipse)
plot(-2:2, type='n')
shape1 = c (1, 0, 0,1)
dim(shape1) = c(2,2)
center1 = c(0,0
]
To: 'Sun' [EMAIL PROTECTED]
Cc: 'Petr Pikal' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 8:24 AM
Subject: RE: [R] ploting an ellipse keeps giving errors
Dear Sun,
There are indeed (at least) two ellipse functions, and the one in the car
package has different arguments
10 matches
Mail list logo