This function is called from the functions
`docabasic, socabasic, sonscabasic`

and `donscabasic`

.
It allows the analyst to compute the orthogonal polynomials of the ordered categorical variable.
The number of the polynomials is equal to the variable category less one.
The function computes the polynomial transformation of the ordered categorical variable.

1 | ```
emerson.poly(mj, pj)
``` |

`mj` |
The ordered scores of an ordered variable. By default |

`pj` |
The marginals, relative frequencies of the ordered variable. |

Describe the value returned

`B` |
the matrix of the orthogonal polynomials without the trivial polynomial. |

Note that the sum of the marginals of the ordered variables should be one.

Rosaria Lombardo and Eric J Beh

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons.

Emerson PL 1968 Numerical construction of orthogonal polynomials from a general recurrence formula. Biometrics, 24 (3), 695-701.
Lombardo R Beh EJ Variants of Simple Correspondence Analysis. The R Journal (accepted).

1 | ```
emerson.poly(c(1,2,3,4,5), as.vector(c(.1,.2,.3,.2,.2)))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.