Description Usage Arguments Details Value Note Author(s) References See Also Examples
Plot each item of objects stored in a list. This is not extention of list object, just to help plot many objects stored in a list. Typically nlr
fited objects such as nl.fitt
, nl.fitt.gn
, nl.fitt.rob
, nl.fitt.rgn
has plot method and the result of many model fitts can be stored in a list, then plotlist
function plot all of them.
1 |
listobj |
An |
... |
An |
plot items in a least one by one.
Plot of objects.
Used mostly for internal purposes.
Hossein Riazoshams, Jan 2010. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
nl.fitt
, nl.fitt.gn
, nl.fitt.rob
, nl.fitt.rgn
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | nn<-length(nlrobj1)
d<-list(xr=nlr::Weights$Date, yr=nlr::Weights$Weight)
wmodel.nlrob <-list( NULL)
j<-1
for(i in 1:3){
start<-as.list(nlrobj1[[i]]$par)
#wmodel.nlrob[i] <-list( nlmest(nlrobj1[[i]],data=d,start=start,robfunc=nl.robfuncs[[1]]))
a1 <- nlr(nlrobj1[[i]],data=d,robustform = "hampel")
if (! is.Fault(a1)){
wmodel.nlrob[j]<-a1
j<-j+1
}
}
plotlist(wmodel.nlrob)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.