Im taking an R programming class that is using the package "matplot" for a demo. I cant find "matplot" in CRAN so i'm assuming it has been replaced/deleted/changed. Is there another package that replaced it?
Asked
Active
Viewed 121 times
0
-
2if you need the function `matplot` it is part of the graphics package which comes with base R. I'm not sure there was ever a "matplot" package – emilliman5 Dec 09 '16 at 20:48
1 Answers
1
There is a matplot
function within the graphics
library. Here's an example from the documentation:
require(grDevices)
matplot((-4:5)^2, main = "Quadratic")
Also, matplot is a plotting library for PHP. Perhaps your instructor could help clarify what is expected.

Thomas
- 43,637
- 12
- 109
- 140

Travis Heeter
- 13,002
- 13
- 87
- 129