Hi everyone,
I'm just starting to use nlme, and am practicing
starting with nls (as illustrated on page 347 of
pinheiro and bates).
For learning purposes, I am starting with a simple
model,
Model.edge <- nls(richness.song.by.round ~
INT/(1+(0.25*((disttowkm/ICP)^B))),
data=upland.point.counts.bt.with.wetlands5, start =
c(INT = 2, ICP = 1, B = 1))
I am getting the error "546 NAs found in value, while
calling subroutine do_nls"
This is suspicious, as there are 547 rows of data, but
I can't figure out the specific problem as neither the
response variable nor the independent variable
(disttowkm) have missing values.
Any help would be appreciated.
Nicky
************************************************************
Dr. Nicola Koper
Assistant Professor
Natural Resources Institute
University of Manitoba
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|