Hello all-
I got some help on this. While it did not fix the problem with nls, one can
get around the problem by creating a data frame with the NAs excluded. As
follows:
goodidx<-which(! is.na(warming$T10cm))
warming2<-warming[goodidx,]
warm.10<-nls(umoles60~alpha*exp(beta*T10cm),start = start,
Hi-
I am using the following code:
start=c(alpha=0.4,beta=0.4)
warm.10<-nls(warming$umoles60~alpha*exp(beta*warming$T10cm),start =
start,data=warming,na.action=na.omit)
This code works for other columns in my dataset that are similar to $T10cm
but the code does not work for this particular
2 matches
Mail list logo