Skip to content
Prev 302445 / 398506 Next

Odp: Problem with segmented function

Hi
to
Muggeo,
You did not read help page correctly. seg.Z is named parameter in which 
you specify formula without LHS. psi shall be x near the expected slope 
change.

seg_test<-segmented(lr_test,seg.Z=~x,psi=5)

works corretly

Regards
Petr
http://r.789695.n4.nabble.com/Problem-with-
http://www.R-project.org/posting-guide.html