basis_list_cols: List Basis Functions

Description Usage Arguments

View source: R/make_basis.R

Description

Build a list of basis functions from a set of columns

Usage

1
basis_list_cols(cols, x)

Arguments

cols

Index or indices (as numeric) of covariates (columns) of interest in the data matrix x for which basis functions ought to be generated. Note that basis functions for interactions of these columns are computed automatically.

x

A matrix containing observations in the rows and covariates in the columns. Basis functions are computed for these covariates.


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