corMatWizard: Graphical User Interface for the creation of correlation...

Description Usage Arguments Value Author(s) Examples

Description

Starts a graphical user interface for the correlation matrices.

Usage

1

Arguments

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).

Value

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.

Author(s)

Kornelius Rohmeyer rohmeyer@small-projects.de

Examples

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)

gMCP documentation built on March 26, 2020, 6:26 p.m.