Spheres3d | R Documentation |
A general function to draw spheres in 3D space.
Spheres3d
allows arguments to be vectors or matrices whose corresponding
axes are specified with names of the form 'x', 'xy', 'yxz', etc.
Spheres3d(obj, ...)
## Default S3 method:
Spheres3d(obj, ...)
obj |
Not presently used. |
... |
The |
argument is used to pass a collection
of vectors or matrices whose corresponding
axes are specified with names of the form 'x', 'xy', 'yxz'.
Special forms assigning x
, y
, z
as 'min'
or 'max'
, such as
x='min'
are treated appropriately.
Other arguments, such as col
, lwd
can also be passed.
None
Georges Monette
Plot3d
, ~~~
require(car)
Plot3d( prestige ~ education + income, Prestige, col="blue")
data.Ell3d()
# marginal ellipses
# FIX THIS
Lines3d( y = 'min', xz = with( Prestige, dell( education, income)), lwd=2)
Lines3d( z = 'min', xy = with( Prestige, dell( education, prestige)), lwd=2)
Lines3d( x = 'min', yz = with( Prestige, dell( prestige, income)), lwd=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.