Learn R Programming

refund (version 0.1-40)

pffr_build_call: Build and configure the mgcv call

Description

Build and configure the mgcv call

Usage

pffr_build_call(
  call,
  algorithm,
  new_formula,
  pffr_data,
  dots,
  use_ar,
  nobs,
  nyindex,
  obs_indices
)

Value

The configured call object.

Arguments

call

Original pffr call.

algorithm

Algorithm symbol.

new_formula

Transformed formula.

pffr_data

Data frame for mgcv.

dots

Validated dots.

use_ar

Whether AR(1) errors requested.

nobs

Number of observations.

nyindex

Number of y-index points.

obs_indices

Observation indices.