R/robust.spline.R

Defines functions robust.spline

robust.spline<-function(designmat,y,r,kmweight=NULL){



  X=designmat$X
  knots=designmat$knots
  Boundary.knots=designmat$Boundary.knots
  degree=designmat$degree

  fit<-pen.m(y, X,r,kmweight)
  return(list(estimates=fit$estimates,y_hat=fit$y_hat,knots=knots,Boundary.knots=Boundary.knots,degree=degree,X=X))
}

Try the GEInter package in your browser

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

GEInter documentation built on May 20, 2022, 1:17 a.m.