get_legendre_par: use legendre polynomials to fit a given data

View source: R/base.R

get_legendre_parR Documentation

use legendre polynomials to fit a given data

Description

use legendre polynomials to fit a given data

Usage

get_legendre_par(y, legendre_order, x)

Arguments

y

vector equal to the y observed data(in this case generic effect)

legendre_order

scalar of legendre polynomials

x

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

Value

the polynomials coefficients

Examples

get_legendre_par(14:1,4,1:14)

idopNetwork documentation built on April 18, 2023, 9:09 a.m.