Displaying 1 result from an estimated 1 matches for "tp4435550p4435550".
2012 Mar 01
2
Help with segmented package
...library(segmented)
set.seed(1234)
z<-runif(100)
y<-rpois(100,exp(2+1.8*pmax(z-.6,0)))
o<-glm(y~z,family=poisson)
o.seg<-segmented(o,seg.Z=~z,psi=list(z=.5))
plot(o.seg)
Thank in advance,
Phil
--
View this message in context: http://r.789695.n4.nabble.com/Help-with-segmented-package-tp4435550p4435550.html
Sent from the R help mailing list archive at Nabble.com.