R_help Help
2009-Nov-05 03:48 UTC
[R] Error in nls Error in if(any(start < low || start > upp)) {: missing value when TRUE/FALSE needed
Hi, I got this error every time when I put upper and lower bound on my parameters in nls. I'm not quite sure what this error is about. I also wanted to find the content of nls_port_fit. But typing this directly into R doesn't seem to give any result out. I also tried to see the content of If anybody could shed some light I'd greatly appreciate. Thank you. rc
Joerg van den Hoff
2009-Nov-05 09:57 UTC
[R] Error in nls Error in if(any(start < low || start > upp)) {: missing value when TRUE/FALSE needed
On Nov 04 2009 (Wed, 22:48), R_help Help wrote:> Hi, > > I got this error every time when I put upper and lower bound on my > parameters in nls. I'm not quite sure what this error is about. I also > wanted to find the content of nls_port_fit. But typing this directly > into R doesn't seem to give any result out.some functions are 'hidden' in the package namespace. you can use getAnywhere("nls_port_fit") to see the source code of such functions. and getFromNamespace to execute such functions from the R prompt.> > I also tried to see the content of If anybody could shed some light > I'd greatly appreciate. Thank you. > > rc > > ______________________________________________ > R-help at 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.
Peter Ehlers
2009-Nov-05 10:21 UTC
[R] Error in nls Error in if(any(start < low || start > upp)) {: missing value when TRUE/FALSE needed
R_help Help wrote:> Hi, > > I got this error every time when I put upper and lower bound on my > parameters in nls. I'm not quite sure what this error is about. I also > wanted to find the content of nls_port_fit. But typing this directly > into R doesn't seem to give any result out. > > I also tried to see the content of If anybody could shed some light > I'd greatly appreciate. Thank you. > > rcWell, one might suspect that there's something wrong with the way you're specifying 'start' and 'lower' and/or 'upper'. But you're so secretive about what you're actually doing that one can only speculate. At a minimum, you might indicate what version of R you're using. -Peter Ehlers> > ______________________________________________ > R-help at 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. > >