pascal.matrix {matrixcalc} | R Documentation |
This function returns an n by n Pascal matrix.
pascal.matrix(n)
n |
Order of the matrix |
A matrix.
~~further notes~~ If the argument n is not a positive integer, the function presents an error message and stops.
Frederick Novomestky fnovomes@poly.edu
Magnus, J. R. and H. Neudecker (1999) Matrix Differential Calculus with Applications in Statistics and Econometrics, Second Edition, John Wiley.
p <- pascal.matrix( 4 )