conv_smoother: Plot smoothed curve

Description Usage Arguments Value Examples

View source: R/conv_smoother.R

Description

The function plots a smoothed curve using the convolve function.

Usage

1
conv_smoother(X, Y, window, raw = FALSE, output = FALSE, ...)

Arguments

X

numeric array

Y

numeric array

window

numeric value indicating size of window to use

raw

boolean

output

boolean

...

other input into the plot function

Value

smoothed X,Y and std Y matrix

Examples

1
2
3
x <- 1:1000
y <- rnorm(1000)
conv <- conv_smoother(x,y,10)

sarbal/EGAD documentation built on May 5, 2021, 5:10 p.m.