File: coef.segmented.r

package info (click to toggle)
r-cran-segmented 2.1-4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,484 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
coef.segmented<-function(object, include.psi=FALSE, ...){
  b<- object$coefficients
  if(include.psi){
    psi<- object$psi[,"Est."]
    b[rownames(object$psi)]<-psi
  }
  b
}