Description Usage Arguments Value Examples

View source: R/expandFunctions.R

Returns a matrix, the same size as the input matrix X, containing the back difference.

1 |

`X` |
R object coercible to matrix |

`pad` |
Pad the first row with this value; the default is NA. 0 would be another value often used in signal processing. |

Returns a matrix, the same size as the input matrix X, containing the back difference by column. The first row is filled with copies of pad.

1 2 3 |

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.