LegNorm | R Documentation |
This function evaluates the values of Legendre polynomials of degrees 1 to 4 on [0,1] at a value(s) x.
LegNorm(x)
x |
A scaler or vector of values at which the Legendre's ploynomials are to be evaluated. |
The returned list has the following elements:
p1 |
p1 is value(s) of the Legendre's polynomial of degree 1 at x |
p2 |
p2 is value(s) of the Legendre's polynomial of degree 2 at x |
p3 |
p3 is value(s) of the Legendre's polynomial of degree 3 at x |
p4 |
p4 is value(s) of the Legendre's polynomial of degree 4 at x |
Legendre's polynomias on [0,1] are calculated.
Mortaza Jamshidian, Siavash Jalal, and Camden Jansen
David, F. N. (1939). “On Neyman's "smooth" test for goodness of fit: I. Distribution of the criterion Psi2 when the hypothesis tested is true,” Biometrika, 31, 191-199, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/biomet/31.1-2.191")}.
p <- LegNorm(c(5.2,11,15))
p$p3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.