Learn R Programming

refund (version 0.1-40)

pffr_validate_dots: Validate pffr arguments and process dots

Description

Validates the arguments passed to pffr() and processes the `...` arguments. Returns structured information about AR settings, family, and validated dots.

Usage

pffr_validate_dots(call, algorithm, dots, check_ar = TRUE)

Value

A list with: - `dots`: Validated and possibly modified dots - `use_ar`: Logical, whether AR(1) errors are requested - `rho`: The rho value (or NULL) - `gaulss`: Logical, whether using gaulss family

Arguments

call

The matched call from pffr().

algorithm

The algorithm argument (may be NA).

dots

The list of additional arguments (...).

check_ar

Whether to check AR-related arguments.