Displaying 3 results from an estimated 3 matches for "kde3d".
Did you mean:
kde3
2011 Jul 13
2
3D density plot of point set
Hello everybody,
I would like to solve the problem described below in R (if
possible). I am very new to R and have therefore no idea what to
even look for in the docu. Therefore, if someone could tell me if
this is possible in R and where I might find the respective docu
then I would already be very thankful.
I have a large set (a few million) of points in 3D. I would like to
create a
2009 Mar 17
1
help with 3-D plot of kernel density estimates
Hi,
I guess I have a naive question. I use kde2d function in a standard way to
estimate kernel densities of x and y (x and y are vectors) and plot them
using image().
f1=kde2d(x,y)
image(f1)
But what if I want to see kernel estimates of three variables, x, y and z (a
vector) plotted together ? Something in which x<->y is plotted and colored
according to the corresponding value of z ?
2016 Apr 04
0
Question about function DrawDensity3D {VecStatGraphs3D}
...ost layer is drawn
(the inner layers omitted)?
Best regards,
Atte Tenkanen
function (vectors, Div = 40, Layers = 3, DrawAxes = FALSE)
{
open3d(windowRect = c(100, 100, 800, 800))
bg3d("white")
Cx = vectors[, 1]
Cy = vectors[, 2]
Cz = vectors[, 3]
Cr <- kde3d(x = Cx, y = Cy, z = Cz, n = Div)
th <- seq(min(Cr$d), max(Cr$d), len = Layers + 2)
ramp <- colorRamp(c("white", "yellow", "red"))
colo <- rgb(ramp(seq(0, 1, length = Layers)), maxColorValue = 255)
al <- seq(0.1, 0.6, len = Layers)
m...