conv_smoother {EGAD} | R Documentation |
The function plots a smoothed curve using the convolve
function.
conv_smoother(X, Y, window, xlab = "", ylab = "", raw = FALSE)
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 |
smoothed X,Y and std Y matrix
x <- 1:1000 y <- rnorm(1000) conv <- conv_smoother(x,y,10)