check_smooth: Check smooth input

View source: R/check.R

check_smoothR Documentation

Check smooth input

Description

Check smooth input

Usage

check_smooth(
  df = NULL,
  smooth = NULL,
  smooth_span = NULL,
  smooth_method = NULL,
  smooth_se = NULL
)

Arguments

df

A data.frame that is to be smoothed spatially. That data frame must have numeric x- and y-variables.

smooth

Logical. If set to TRUE values will be smoothed according to the smoooth_-parameters.

smooth_span

The amount of smoothing specified as a single numeric value.

smooth_method

The smoothing method that will be used specified as a single character value (e.g. "lm", "glm", "gam", "loess").

smooth_se

Logical. If set to TRUE the confidence interval will be

smooth_clr

Character value. The color with which to display the smoothed model.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.