enumerate_basis: Enumerate Basis Functions

Description Usage Arguments

View source: R/make_basis.R

Description

Generate basis functions for all covariates and interaction terms thereof, up to a specified order/degree

Usage

1
enumerate_basis(x, max_degree = NULL)

Arguments

x

An input matrix containing observations and covariates following standard conventions in problems of statistical learning.

max_degree

The highest order of interaction terms for which the basis functions ought to be generated. The default (NULL) corresponds to generating basis functions for the full dimensionality of the input matrix.


jeremyrcoyle/mangolassi documentation built on Dec. 2, 2019, 10:42 p.m.