polynomial.object: Creates a polynomial object

Description Usage Arguments Value See Also Examples

View source: R/basis_functions.R

Description

polynomial.object creates objects of class "polynomial". These objects can be used as input to complex functions in order to perform computation depending on the basis function. E.g see design_matrix generic function.

Usage

1

Arguments

M

The degree of the polynomial object that will be created.

Value

An object of class 'polynomial'

See Also

design_matrix

Examples

1
2
obj <- polynomial.object(M=2)
(obj)

andreaskapou/mpgex documentation built on Nov. 25, 2017, 8:08 a.m.