Displaying 2 results from an estimated 2 matches for "frameaux".
Did you mean:
frame_x
2003 Aug 21
0
nls fitting inside a loop in S-Plus
...conc<-data.frame(conc=(1:99)*(max(conc)-min(conc))/100+min(conc))
plot(as.numeric(p.conc[,1]),as.numeric(predict(fit,newdata=p.conc)),type='l',col=4)
}
When the above code was run in R, it worked very well,
but when it was run in S-plus, it gave me the
following error:
Problem in data.frameAux.list(x, na.strings =
na.strings, stringsAsFactors ..: arguments imply
differing number of rows: 4, 3,
2, 16, 4, 4, 4, 4, 16, 1, 1, 1, 1
Also, If I only run the loop for only 1 cycle (either
No.1 or No.2 by setting "for (i in 1:1)" or "for (i in
2:2)), the code worked ok in S-Plus,...
2006 May 22
1
Changing the generic of as.data.frame
I have changed the generic to as.data.frame in R-devel by adding a '...'
argument. This means that any methods which do not have a '...' argument
(quite a few do) will generate a warning in R CMD check: the fix is very
simple (and backwards compatible): just add a '...' argument to the
method.
We already had a problem with as.data.frame.table which had an extra