DesignFormula {ordgam}R Documentation

Internal function extracting design matrices from formulas in the DALSM function and computing penalty related matrices.

Description

Internal function extracting design matrices from formulas in the DALSM function and computing penalty related matrices.

Usage

DesignFormula(
  formula,
  data,
  K = 10,
  pen.order = 2,
  knots.x = NULL,
  n = NULL,
  nointercept = FALSE,
  verbose = TRUE
)

[Package ordgam version 0.9.1 Index]