gam_smoother: Function to smooth an _x_-_y_ pair with a generalised...

View source: R/smoother_functions.R

gam_smootherR Documentation

Function to smooth an x-y pair with a generalised additive model (GAM).

Description

Function to smooth an x-y pair with a generalised additive model (GAM).

Usage

gam_smoother(x, y, method = "GCV.Cp")

Arguments

x

Numeric vector.

y

Numeric vector.

method

Smoothing estimation method.

Value

Numeric vector with the length of x or y

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.