Dear Turner and Murphy, Thankyou so very much for replying. It fixed the issue. :) Eliza > Date: Wed, 1 Oct 2014 11:04:32 +1300 > From: r.tur...@auckland.ac.nz > To: eliza_bo...@hotmail.com; r-help@r-project.org > Subject: Re: [R] Best Distribution > > On 01/10/14 08:50, eliza botto wrote: > > Dear useRs, > > I have this following data > >> dput(Prec) > > c(42.2, 45.2, 46, 48, 54, 54.1, 59.4, 61, 62.2, 63.5, 65.024, 71.9, 73.4, > > 76.6, 76.708, 77.5, 77.724, 78, 81.3, 84.7, 84.836, 85.09, 88.2, 91.4, 94, > > 95.8, 96, 97.3, 101, 101, 101.5, 102.3, 102.87, 108.7, 109.5, 110.5, 110.7, > > 112, 114.3, 118.11, 121.412, 128.1, 131, 140, 142, 143.3, 151.4, 153.7, > > 189.4, 214.3) > > I want to fit gumbel and log-normal distribution on it on the same window > > to see which distribution fits it the best way. > > Thankyou very much in advance. > > > If I understand you correctly the attached script should do what you want. > > cheers, > > Rolf Turner > > -- > Rolf Turner > Technical Editor ANZJS [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org 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.