Description Usage Arguments Value
View source: R/gwscaR_popgen.R
Calculate a sliding average
1 | sliding.avg(win.start, dat, width)
|
win.start |
The beginning of where you want to start your sliding window |
dat |
A vector (or row of a data frame) containing the values you would like to calculate your sliding window over. |
width |
The width of the sliding window |
The average value of dat within that sliding window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.