R/coef.segmented.r

Defines functions coef.segmented

Documented in coef.segmented

coef.segmented<-function(object, include.psi=FALSE, ...){
  b<- object$coefficients
  if(include.psi){
    psi<- object$psi[,"Est."]
    b[rownames(object$psi)]<-psi
  }
  b
}

Try the segmented package in your browser

Any scripts or data that you put into this service are public.

segmented documentation built on Oct. 25, 2024, 5:07 p.m.