conv_smoother {EGAD}R Documentation

Plot smoothed curve

Description

The function plots a smoothed curve using the convolve function.

Usage

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

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


[Package EGAD version 1.20.0 Index]