I've been tinkering with the RGL package to figure out how to plot a plane from an equation in R, to no avail.
For example, I would like to visualize the following plane:
1x + 0y + 0z = 2
0x + 1y + 0z = 3
0x + 0y + 1z = 4
It seems the rgl's planes3d function only adds a plane to an existing 3D plot.
If you want to plot, e.g., a plane defined by the equation
2*x+y-z-3=0
, you could do this in the following way:For more examples see
?persp
.