Learn R Programming

joker (version 0.14.2)

fd: Forward Difference

Description

Calculates the forward difference of a vector or matrix.

Usage

fd(x)

Value

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

Arguments

x

numeric vector or matrix.

Details

The function is used internally in the Multigam distribution.