Displaying 7 results from an estimated 7 matches for "plotfit".
2009 Feb 10
2
plotting the result of a nonlinear regression
Hello,
to plot the result of a singular non linear regression (using nls) I usually use the function plotfit, for example:
r.PTG.V<-nls(PTG.P~ fz1(Portata, a,b), data=dati, start=list(a=10, b=10), nls.control(maxiter=200), algorithm='port',
trace=TRUE, na.action=na.omit, lower=list(a=0, b=10), upper=list(a=100, b=100))
plotfit(r.PTG.V)
I tried to use the function plotfit on the result of the...
2009 Jan 17
2
DierckxSpline segfault
I've just encountered a segfault when using DierckxSpline::percur
function. Below is the minimal example which triggers the error:
---
library(DierckxSpline)
x <- 1:10
y <- rep(0, 10)
pspline <- percur(x, y)
---
*** caught segfault ***
address (nil), cause 'memory not mapped'
Traceback:
1: .Fortran("percur", iopt = as.integer(iopt), m = as.integer(m),
x =
2008 Jul 07
0
Functional Data Analysis, fda_1.2.4
...e is now
available on CRAN. In this version, both 'smooth.basis' and
'smooth.basisPar' have been modified to make them easier to use. They
have more useful defaults and they return an object of class
'fdSmooth', with methods for 'plot', 'lines', and 'plotfit'. In
addition, there have also been improvements to the 'plotfit' function
and the 'CanadianWeather' data. Also, a function 'norder' has been
added, which returns the order of a B-spline.
Spencer Graves
_______________________________________________
R-packages m...
2008 Jul 07
0
Functional Data Analysis, fda_1.2.4
...e is now
available on CRAN. In this version, both 'smooth.basis' and
'smooth.basisPar' have been modified to make them easier to use. They
have more useful defaults and they return an object of class
'fdSmooth', with methods for 'plot', 'lines', and 'plotfit'. In
addition, there have also been improvements to the 'plotfit' function
and the 'CanadianWeather' data. Also, a function 'norder' has been
added, which returns the order of a B-spline.
Spencer Graves
_______________________________________________
R-packages m...
1997 Aug 25
0
R-alpha: `missing' BB functions
...the functions documented in the Blue Book that I found missing
in R (ignoring the ones which are obviously outdated).
aggregate allocated amatch axes chull clorder cutree cycle date
debugger dget discr faces interp l1fit labclust lag loglin
monthplot mstree mulbar napsack odometer persp plclust plotfit
rep.int restore rreg sabl sablplot set.seed smooth sort.list
Stable stars starsymb storage subtree symbols tempfile tslines
tsmatrix tsplot tspoints twoway unlink usa xor
In some detail:
aggregate cycle lag smooth tslines tsmatrix tsplot tspoints:
Obviously useful for time series. Andreas ha...
2009 Feb 03
3
non linear regression with nls
...ls(NT.N~ fz1(Portata, a,b), data=subset(dati,river.name=="Laveggio"), start=list(a=10, b=10), nls.control
(maxiter=200), algorithm='port', trace=TRUE, na.action=na.omit, lower=list(a=0, b=0), upper=list(a=1000, b=1000))
and then I get the results with summary() and the graph using plotfit()
but this will get extremly long since I have 12 rivers to analize for every variable and then compare the results, so
I'd like to use a loop (cycle for??) but I can't figure out how it works. I've tried to look on the help page on ?
Control (control flow) but I didn't understand...
2011 Apr 29
1
Analysis and graphics by groups
...nvir = envir) :
object 'FUN' of mode 'function' was not found
Can you help me doing this non-linear regression by groups work?
Also, after I manage making the regression, I'd also need fitting a line to
the nDMTRBgm2~nDMTRBgm2.T.1 data using the same model above. I've used
plotfit to do that with one nlm data set. Is it possible to fit each group
trend line and data with different colours/symbols in one same graphic?
Thank you,
Cristiano
--
Cristiano Yuji Sasada Sato
Doutorando
Programa de Pós-Graduação em Ecologia e Evolução - IBRAG / UERJ
Laboratório de Ecologia de Rio...