Learn R Programming

lpcde (version 0.1.6)

poly_base: Polynomial basis vector expansion

Description

Generate polynomial basis vector up to order p. has multivariate functionality as described in the main paper normalized by factorials in denominator. NOTE: currently works only up to 4th degree polynomial expansion for multivariate x.

Usage

poly_base(x, p)

Value

Polynomial basis of x up to degree p.

Arguments

x

A number or vector.

p

A number (integer).

Examples

Run this code
poly_base(x = 2, p = 5)

Run the code above in your browser using DataLab