Displaying 1 result from an estimated 1 matches for "source_30".
Did you mean:
source3
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
...rying to color below of the curves
defined for the function density().
I tried to use the site: R GRAPH GALLERY
as tutorial.
I tried to adapt the example of this page:
[figure]:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30
[code]:
http://addictedtor.free.fr/graphiques/sources/source_30.R
to my case but I do not obtain success.
Somebody could give a tip to me, please?
I am thankful anticipatedly.
Cleber Borges
#My code test
##############
library(scatterplot3d)
x=c(0.4, -1.2, .8, -.7, 0)
d1 = density(x[1],bw=1.2, from=-3.0, to=3.0 )
d2 = density(x[2],bw=0.8, from=-3.0,...