[R] nls factor

Manuel Morales Manuel.A.Morales at williams.edu
Wed Apr 15 21:25:07 CEST 2009


On Wed, 2009-04-15 at 12:02 -0400, Michael A. Miller wrote:
> >>>>> "Manuel" == Manuel Morales <Manuel.A.Morales at williams.edu> writes:
> 
>     > nls(y ~ a[fac]*x^b, start=list(a=c(1,1), b=0.25))
> 
> Did you mean a[f]?
> 
> nls(y ~ a[f]*x^b, start=list(a=c(1,1), b=0.25))
> 
> Mike

Argh!!!

-- 
http://mutualism.williams.edu



More information about the R-help mailing list