R/loe.R

Defines functions loe

Documented in loe

#' Loess for a single variable
#' 
#' @param x     a vector.
#' @param \dots further arguments passed to \code{\link[stats]{loess}}.
#' 
#' @importFrom stats loess
#' @export

loe <- function(x, ...) loess(x ~ seq_along(x), ...)$fitted
twolodzko/twextras documentation built on May 3, 2019, 1:52 p.m.