How do I plot an ellipse in R?

I am trying to teach myself R
When I run the script below:

polygon <-ellipse(x, scale = c(1, 1), centre = c(0, 0), level = 0.95, which = c(1, 2), npoints = 200)

I get the attached
How do I change this into a horizontal ellipse?

What is the value of x? Try plotting the result of ellipse(0.8)as in the documentation example. Does that work?

Thank you, It works

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.