Hi,
Thanks for help.
The ecdf has jumps of 1/n but I need jumps of 1. How do I do this? if I can
do this then I think Ic an plot the data properly. I am plotting epidemic
simulation and want to plot my 2 processes Infection and Symptoms (after
incubation) on the same chart to compare them.
Atul.
On Thu, 24 Apr 2008, Atul Kulkarni wrote:
> Hi,
>
> Thanks for help.
>
> The ecdf has jumps of 1/n but I need jumps of 1. How do I do this? if I can
See
?stepfun
HTH,
Chuck
> do this then I think Ic an plot the data properly. I am plotting epidemic
> simulation and want to plot my 2 pro
Maybe like this?
> proc.1 <- rexp(200,1)
> proc.2 <- rexp(200,2)
> plot( ecdf( proc.1 ), xlim=range( proc.1, proc.2 ) )
> plot( ecdf( proc.2 ), add=T, col.points='red' )
>
See
?ecdf
?plot.stepfun
HTH,
Chuck
On Wed, 23 Apr 2008, Greg Snow wrote:
> Can you show us the code yo
Can you show us the code you used for the 5 to 10 points? (either
generate some random data, or use a sample dataset).
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
> -Original Message-
> From: [EMAIL PROTECTED]
> [
4 matches
Mail list logo