fn builtin_diff(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Lagged differences.
@param x numeric vector @param lag the lag to use (default 1) @param differences number of times to apply differencing (default 1) @return numeric vector of length(x) - lag * differences