Re: [R] Error when using fitdist function in R

2013-04-11 Thread PIKAL Petr
, April 10, 2013 3:05 PM To: PIKAL Petr Cc: r-help@r-project.org Subject: Re: [R] Error when using fitdist function in R Dear PIKAL, Thank you for your kind reply. The function fitdist comes from package fitdistrplus. I am attaching a .csv document that contains the data I want to fit a

Re: [R] Error when using fitdist function in R

2013-04-10 Thread Paul Bernal
Dear Dr. Brian, Hope you are doing well. The thing is that my data does not have any 0s in it. Furthermore, I also tried fitting other distributions (i.e. weibull) and still did not work. I will show you the results of str(k) so you have an idea of the tipe of data I am dealing with: int [1:499

Re: [R] Error when using fitdist function in R

2013-04-10 Thread Paul Bernal
Dear PIKAL, Thank you for your kind reply. The function fitdist comes from package fitdistrplus. I am attaching a .csv document that contains the data I want to fit a distribution to, so you can have a good idea of what kind of data I am dealing with. Basically what str(k) contains is the informa

Re: [R] Error when using fitdist function in R

2013-04-10 Thread Prof Brian Ripley
On 10/04/2013 08:29, PIKAL Petr wrote: Hi where is function fitdist from? Do you by chance mean fitdistr from MASS package? No, from the output. More likely fitdistrplus::fitdist Fit of univariate distributions to non-censored data What is result of str(k)? With

Re: [R] Error when using fitdist function in R

2013-04-10 Thread PIKAL Petr
Hi where is function fitdist from? Do you by chance mean fitdistr from MASS package? What is result of str(k)? Without these questions answered you hardly get any useful answer. Regards Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project

Re: [R] Error when using fitdist function in R

2013-04-09 Thread Paul Bernal
> > Hello everyone, > > > I was trying to do some distribution fitting with a numerical field > called Tolls. The sample size = 999 rows. > > Basically I assigned the Toll data to a new variable K by doing: > k<-dtest$Toll > > After that, tried to fit a gamma distribution by doing: fitG<-fitdist