Drawing ellipse in R

前端 未结 1 2011
不思量自难忘°
不思量自难忘° 2021-01-24 20:00

I want to make ellipse in R. The code is given below:

library(car)
A      <- matrix(c(2.2, 0.4, 0.4, 2.8), nrow=2)
ellipse(c(0, 0), shape=A, radius=0.98, col=&         


        
相关标签:
1条回答
  • 2021-01-24 20:27

    supply the argument add=FALSE and it will create a new plot instead of trying to add to an existing one. There is also an ellipse package that I've used if you want another option.

    0 讨论(0)
提交回复
热议问题