masterpatacca
2012-Jun-19 16:33 UTC
[R] 3-D plot of a bidimensional lognormal distribution
Hi and thanks in advance to everyone who will be able to help me. I have 2 independent lognormal distributions with different means and sd. I want to plot them togheter in a 3D plot. How can i do this??? I'm getting crazy... Thanks Ale -- View this message in context: http://r.789695.n4.nabble.com/3-D-plot-of-a-bidimensional-lognormal-distribution-tp4633866.html Sent from the R help mailing list archive at Nabble.com.
David Winsemius
2012-Jun-19 18:39 UTC
[R] 3-D plot of a bidimensional lognormal distribution
On Jun 19, 2012, at 12:33 PM, masterpatacca wrote:> Hi and thanks in advance to everyone who will be able to help me. > > I have 2 independent lognormal distributions with different means > and sd.You should explain what that sentence means to you, preferably by offering an example in R code.> I > want to plot them togheter in a 3D plot. > How can i do this??? I'm getting crazy...persp in base and wireframe in lattice are functions that will plot 2d surfaces and you can calculate 2d densities with kde2d in MASS or bkde2D in KernSmooth. -- David Winsemius, MD West Hartford, CT