Re: [R] kernel density plot

2011-04-03 Thread Greg Snow
quot;) -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 From: Muzna Alvi [mailto:muzna.a...@gmail.com] Sent: Sunday, April 03, 2011 12:52 PM To: Greg Snow Cc: r-help@r-project.org Subject: Re: [R] kernel density plot i am sorry greg, can you

Re: [R] kernel density plot

2011-04-03 Thread Muzna Alvi
i am sorry greg, can you explain that with an example? On Mon, Apr 4, 2011 at 12:11 AM, Greg Snow wrote: > It is better to replace your later calls to plot with calls to lines > instead, then you don't need to use par(new=T) which as you see tends to > cause problems. > > -- > Gregory (Greg) L.

Re: [R] kernel density plot

2011-04-03 Thread Greg Snow
It is better to replace your later calls to plot with calls to lines instead, then you don't need to use par(new=T) which as you see tends to cause problems. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Messag

Re: [R] kernel density plot

2011-04-03 Thread David Winsemius
On Apr 3, 2011, at 7:55 AM, David Winsemius wrote: On Apr 3, 2011, at 6:56 AM, Muzna Alvi wrote: I am using the following commands for plotting kernel density for three kinds of crops density(s22$Net_income_Total.1, bw="nrd0",adjust=1, kernel=c("gaussian"))->t plot(t, xlim=c(-3,4)

Re: [R] kernel density plot

2011-04-03 Thread David Winsemius
On Apr 3, 2011, at 6:56 AM, Muzna Alvi wrote: I am using the following commands for plotting kernel density for three kinds of crops density(s22$Net_income_Total.1, bw="nrd0",adjust=1, kernel=c("gaussian"))->t plot(t, xlim=c(-3,4), main="Net Income Distribution", axes=F, ylim=c(0,0.0