R/fitted.dierckx.R

fitted.dierckx <- function(object, ...) {
  s <- .Fortran("splev",
                knots = as.single(object$knots),
                n = as.integer(object$n),
                coef = as.single(object$coef),
                k = as.integer(object$k),
                x = as.single(object$x),
                sp = single(object$m),
                m = as.integer(object$m),
                ier = as.integer(object$ier))$sp
  as.double(s)
}

Try the DierckxSpline package in your browser

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

DierckxSpline documentation built on May 2, 2019, 6:30 p.m.