dwww Home | Show directory contents | Find package

context("stats-loess")

skip_if_not_installed("modeltests")
library(modeltests)

test_that("augment.loess", {
  check_arguments(augment.loess)

  fit <- loess(mpg ~ wt, mtcars)

  check_augment_function(
    aug = augment.loess,
    model = fit,
    data = mtcars,
    newdata = mtcars
  )
})

Generated by dwww version 1.15 on Thu May 23 02:19:29 CEST 2024.