numeric2diag | R Documentation |
Create a diagonal numeric matrix from diagonal elements
numeric2diag(x, context = NULL)
x |
numeric data |
context |
used to generate column names |
a numeric diagonal matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.