Description Usage Arguments Details Author(s) References Examples

Applies a function within a sliding window of a numeric vector or matrix. Both the step size and the window size can be set by the user. For the matrix impelentation the step size and window size is constrained to be the same in both the X and Y dimensions.

1 | ```
SlidingWindow(FUN, data, window, step, strict)
``` |

`FUN` |
a function to be applied within each window. |

`data` |
a numerical vector or matrix |

`window` |
an integer setting the size of the window |

`step` |
an integer setting the size of step between windows |

`strict` |
TRUE or FALSE indicating whether validation testing should be performed |

If the input data is a vector then returns a vector of numeric values representing the application of the selected function within each window. If the input data is a matrix then returns a matrix of numeric values representing the application fo the selected function within each window.

Heath Blackmon

1 2 3 4 5 6 7 |

coleoguy/evobir documentation built on June 13, 2019, 9:54 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.