fd {joker}R Documentation

Forward Difference

Description

Calculates the forward difference of a vector or matrix.

Usage

fd(x)

Arguments

x

numeric vector or matrix.

Details

The function is used internally in the Multigam distribution.

Value

an atomic vector or matrix of the same dimensions as x.


[Package joker version 0.14.2 Index]