Learn R Programming

idopNetwork (version 0.1.2)

legendre_fit: generate curve based on legendre polynomials

Description

generate curve based on legendre polynomials

Usage

legendre_fit(par, x)

Value

the polynomials value

Arguments

par

vector of legendre polynomials coefficients

x

vector equal to the x value for legendre polynomials(in this case times)

Examples

Run this code
legendre_fit(rep(1,5),1:14)

Run the code above in your browser using DataLab