Re: [R] Empty data frame

2008-02-07 Thread Jarosław Jasiewicz
Gabor Grothendieck pisze: >> data.frame(a = character(0), b = double(0)) >> > [1] a b > <0 rows> (or 0-length row.names) > > > On Feb 7, 2008 5:48 AM, Jarosław Jasiewicz <[EMAIL PROTECTED]> wrote: > >> Hi >> Sorry for banal question

[R] Empty data frame

2008-02-07 Thread Jarosław Jasiewicz
Hi Sorry for banal question How to create empty data frame with for example 30 variables without typying: data.frame(x=1,y=1) Jarek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide h

Re: [R] formula for nls

2008-01-28 Thread Jarosław Jasiewicz
Christian Ritz pisze: > Hi Jarek, > > an alternative approach is to provide more precise starting values! > > It pays off to realise that it's possible to find quite good guesses > for some of the parameters in your model function: > > t ~ tr+(ts-tr)/((1+(a*h)^n)^(1-(1/n))) > > The par

Re: [R] Grouping by interval

2007-12-07 Thread Jarosław Jasiewicz
Sonia Mehault pisze: > Hello, > > I have a dataframe of say 20 lines with one line per individual. I want to > group these 20 individuals > by length class (eg. of 5cm) and get the mean value of all the other > variables (eg VarA and VarB) for each length class > > My dataframe is as follow: > >