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, xlab = "", ylab = "", raw = FALSE)

### Arguments

`X` | numeric array
`Y` | numeric array
`window` | numeric value indicating size of window to use
`xlab` | string of x-axis label
`ylab` | string of y-axis label
`raw` | boolean

### 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.16.0 Index]