powered by
generate curve based on legendre polynomials
legendre_fit(par, x)
the polynomials value
vector of legendre polynomials coefficients
vector equal to the x value for legendre polynomials(in this case times)
legendre_fit(rep(1,5),1:14)
Run the code above in your browser using DataLab