[R] Error with the 'segmented' package for R

Vito Muggeo (UniPa) vito.muggeo at unipa.it
Fri May 4 17:48:52 CEST 2012


dear Szymon,
it is a bug (in the new version), thanks. It depends on the flat 
underlying relationship you are trying to estimate with a small sample..

I will correct it as soon as possible. Meanwhile you can use

o1<-glm(gpp ~ temp)
os1<-segmented(o1, seg.Z=~temp, psi=15, control=seg.control(n.boot=0, 
display=T, it.max=2))

best,
vito

-- 
====================================
Vito M.R. Muggeo
Dip.to Sc Statist e Matem `Vianelli'
Università di Palermo
viale delle Scienze, edificio 13
90128 Palermo - ITALY
tel: 091 23895240
fax: 091 485726
http://dssm.unipa.it/vmuggeo



More information about the R-help mailing list