R/points.unireg.R

points.unireg <- function(x, type="l", ...){
    minx <- min(diff(unique(x$x)))
    z <- seq(x$a, x$b, by=minx/10)
    points(z, predict.unireg(x,z), type=type, ...)
}

Try the uniReg package in your browser

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

uniReg documentation built on May 2, 2019, 6:50 a.m.