similar to: bug in nls?

Displaying 20 results from an estimated 1000 matches similar to: "bug in nls?"

2008 Jun 24
0
bug? nls and "[" indexing
Dear all I just encountered a strange problem with nls formula. I tried to use nls in cycle but I was not successful. I traced the problem to some parse command. Here is an example > DF<-data.frame(x=1:10, y=3*x^.5+rnorm(10)) > coef(lm(log(DF[,2])~log(DF[,1]))) (Intercept) log(DF[, 1]) 0.7437320 0.6831726 # this works > coef(nls(y~a*x^b, data=DF, start=list(a=3, b=.7)))
2004 Jan 07
2
locale problem in W98
Dear all I am using two computers, one with Windows2000 and the other one with W98 both have the same version (precompiled binary) R 1.8.1 and I have experienced a slight problem with text used in plotting on W98 machine. When I try to write some local characters into R console ????? (not sure if it is OK on your computers) in W2000 **everything** is OK but in W98 some of the characters
2017 Oct 20
1
Error messages using nonlinear regression function (nls)
Hi Keep your messages in the list, you increase your chance to get some answer. I changed your data to groupedData object (see below), but I did not find any problem in it. plot(wlg) gives reasonable picture and I am not such expert to see any problem with data. Seems to me, that something has to be wrong with nlsList function. > wheat.list <- nlsList(Prop ~ SSlogis(end,Asym, xmid,
2013 May 13
3
help: R GUI front-end has stopped working
Hello, I'm using the function nlminb of the package stats inside a loop and when the number of trials grows, R crashes and says "R GUI front-end has stopped working". Could you help me with this problem? I have try in versions 2.15.1,2.15.2 and 3.0.0. > sessionInfo() R version 2.15.2 (2012-10-26) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1]
2006 Sep 15
1
Formula aruguments with NLS and model.frame()
I could use some help understanding how nls parses the formula argument to a model.frame and estimates the model. I am trying to utilize the functionality of the nls formula argument to modify garchFit() to handle other variables in the mean equation besides just an arma(u,v) specification. My nonlinear model is y<-nls(t~a*sin(w*2*pi/365*id+p)+b*id+int,data=t1,
2008 Aug 05
1
Fix for nls bug???
Hi All, I've hit a problem using nls. I think it may be a restriction in the applicability of nls and I may have found a fix, but I've been wrong before. This example is simplified to the essentials. My real application is much more complicated. Take a function of matrix 'x' with additional arguments: matrix 'aMat' whose values are _not_ to be determined by nls vector
2012 Jul 03
1
nls problem
hi list, used versions: 2.12.1 and 2.14.0 under ubuntu and macosx. I recently stumbled over a problem with `nls', which occurs if the model is not specified explicitly but via an evaluation of a 'call' object. simple example: 8<-------------------------------------------------------------------------------------- nlsProblem <- function (len = 5) {
2017 Aug 16
5
strange behaviour read.table and clipboard
Hi Duncan The simples spreadsheet is: Put a name in the cell, let say "a1" Put number e.g. 1 below "a1" Copy the number to enough rows Select this column and press ctrl-c result is > temp<- read.delim("clipboard") > str(temp) 'data.frame': 1513 obs. of 1 variable: $ a1: Factor w/ 2 levels "1","a1": 1 1 1 1 1 1 1 1 1 1 ...
2017 Aug 17
2
strange behaviour read.table and clipboard
Hi > -----Original Message----- > From: Robert Baer [mailto:rbaer at atsu.edu] > Sent: Wednesday, August 16, 2017 3:04 PM > To: PIKAL Petr <petr.pikal at precheza.cz>; Duncan Murdoch > <murdoch.duncan at gmail.com> > Cc: r-devel at r-project.org > Subject: Re: [Rd] strange behaviour read.table and clipboard > > You said, "put a name in the cell".
2013 Feb 15
1
Why no line? (ex. from Andy Filed book)
The following script is written by the author of a book on R--Andy Field: You can also download the small datafile, hiccups.dat, from this address: http://www.sagepub.com/dsur/study/articles.htm The script: hiccupsData <- read.delim("Hiccups.dat", header = TRUE) hiccups<-stack(hiccupsData) names(hiccups)<-c("Hiccups","Intervention")
2017 Aug 02
2
symantec and R instalation info
Dear all I am not sure if this is appropriate for the list, but I have recently found that Symantec blocks R devel from installation. Enclosed is copy of Symantec message. Our IT installed it but I wont be probably alone with this problem. > sessionInfo() R Under development (unstable) (2017-07-31 r73003) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 14393)
2010 Mar 18
5
language!!!
Hi, there´s something that really bothers me about R and after hours and hours of internet research, I´m still stuck with the same problem: I installed R and it is in Spanish, as the system on my work. I would really like it in English and there seems to be no way to change that!?! I´m doing an abroad internship, so my Spanish is far from perfect and my tutorial is in English. Is there any
2006 Sep 07
0
Help understanding how nls parses the formula argument to estimate the model
I could use some help understanding how nls parses the formula argument to a model.frame and estimates the model. I am trying to utilize the functionality of the nls formula argument to modify garchFit() to handle other variables in the mean equation besides just an arma(u,v) specification. My nonlinear model is y<-nls(t~a*sin(w*2*pi/365*id+p)+b*id+int,data=t1,
2006 Sep 21
0
Help understanding how nls parses the formula argument to estimate the model
I could use some help understanding how nls parses the formula argument to a model.frame and estimates the model. I am trying to utilize the functionality of the nls formula argument to modify garchFit() to handle other variables in the mean equation besides just an arma(u,v) specification. My nonlinear model is y<-nls(t~a*sin(w*2*pi/365*id+p)+b*id+int,data=t1,
2008 Nov 26
1
survreg and pweibull
Dear all - I have followed the thread the reply to which was lead by Thomas Lumley about using pweibull to generate fitted survival curves for survreg models. http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html Using the lung data set, data(lung) lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull') curve(pweibull(x, scale=exp(coef(lung.wbs)),
2008 Oct 13
2
problem with update.packages
Hi, is anyone else getting this error? Could this be a bug?: > update.packages(ask=FALSE) Error in read.dcf(pkgpath, fields = fields) : Line starting 'unix; ...' is malformed! > sessionInfo() R version 2.8.0 RC (2008-10-12 r46696) x86_64-pc-linux-gnu locale:
2017 Aug 15
2
strange behaviour read.table and clipboard
Dear all I used to transfer data from excel to R by simple ctrl-c and read.delim("clipboard") construction. I know it is a bad practice but it is easy and for quick exploratory work it is OK. However after changing to new R devel few days ago I encountered weird behaviour. I tried one or two columns. In case of 2 columns, header is repeated after 526 items >
2017 Aug 16
0
strange behaviour read.table and clipboard
You said, "put a name in the cell". Does that mean you forgot a header = TRUE? On 8/16/2017 1:25 AM, PIKAL Petr wrote: > Hi Duncan > > The simples spreadsheet is: > > Put a name in the cell, let say "a1" > Put number e.g. 1 below "a1" > Copy the number to enough rows > Select this column and press ctrl-c > > result is > >>
2017 Aug 16
0
strange behaviour read.table and clipboard
>>>>> PIKAL Petr <petr.pikal at precheza.cz> >>>>> on Wed, 16 Aug 2017 06:25:48 +0000 writes: > Hi Duncan The simples spreadsheet is: > Put a name in the cell, let say "a1" Put number e.g. 1 > below "a1" Copy the number to enough rows Select this > column and press ctrl-c > result is >>
2009 Apr 29
1
RweaveHTML (R2HTML) Help
I have found Sweave() to be great for producing PDF documents. I have been experimenting with RweaveHTML (from the R2HTML) package and have had moderate success. My main issue has been that I simply want the R output to be shown verbatim in the HTML document but RweaveHTML tends to convert most output to a table, for example. So, is there a way to force the RweaveHTML driver to simply provide