Quantcast

3-D plot of a bidimensional lognormal distribution

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

3-D plot of a bidimensional lognormal distribution

masterpatacca
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.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 3-D plot of a bidimensional lognormal distribution

David Winsemius

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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...