Re: [R] How to create a 'fit' plot

2005-03-18 Thread Adaikalavan Ramasamy
If you know the exact formulae for the distribution, replace it with 'f' function below. You may want to use the log="x" in the plot. f <- function(x) 1 - exp( -x/20 ); plot( f, xlim=c(0,100), ylim=c(0.5, 1) ) Otherwise generate sufficient realisations from it and fit a line as below x <- s

RE: [R] How to create a 'fit' plot

2005-03-18 Thread Ted Harding
On 18-Mar-05 R_xprt_wannabe wrote: > Dear List, > > As someone who is in the process of trying to migrate > from Excel, I'd appreciate any help on this question: > > I have a data set and want to fit, say, three > distributions to it. I would like to create a plot > that shows my data points aga

[R] How to create a 'fit' plot

2005-03-18 Thread R_xprt_wannabe
Dear List, As someone who is in the process of trying to migrate from Excel, I'd appreciate any help on this question: I have a data set and want to fit, say, three distributions to it. I would like to create a plot that shows my data points against all three fitted curves (estimated d.f.). Bas