Learn R Programming

refund (version 0.1-40)

pffr_expand_variables: Expand variables to formula environment for smooth/parametric terms

Description

Expand variables to formula environment for smooth/parametric terms

Usage

pffr_expand_variables(
  terms,
  where_specials,
  is_sparse,
  nyindex,
  nobs,
  obs_indices,
  eval_env,
  formula_env
)

Arguments

terms

List of parsed terms.

where_specials

List of term indices by type.

is_sparse

Whether data is sparse.

nyindex

Number of y-index points.

nobs

Number of observations.

obs_indices

Observation indices.

eval_env

Evaluation environment.

formula_env

Formula environment to assign to.