Description Usage Arguments Value Author(s) Examples
Starts a graphical user interface for the correlation matrices.
1 | corMatWizard(n, matrix, names, envir = globalenv())
|
n |
Square root of the dimension of the quadratic nxn-Matrix. |
matrix |
Variable name of matrix of dimension nxn to start with. |
names |
Row and column names. (Default will be H1,H2,...,Hn.) |
envir |
Environment where the object matrix is located and/or it should be saved (default is the global environment). |
The function itself returns NULL. But with the dialog a symmetric matrix of dimension nxn can be created or edited that will be available in R under the specified variable name after saving.
Kornelius Rohmeyer rohmeyer@small-projects.de
1 2 3 4 5 6 7 8 9 | ## Not run:
corMatWizard(5) # is equivalent to
corMatWizard(matrix=diag(5))
corMatWizard(names=c("H1", "H2", "H3", "E1", "E2"))
C <- cor(matrix(rnorm(100),10), matrix(rnorm(100),10))
corMatWizard(matrix="C") # or
corMatWizard(matrix=C)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.