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

corMatWizardR Documentation

Graphical User Interface for the creation of correlation matrices

Description

Starts a graphical user interface for the correlation matrices.

Usage

corMatWizard(n, matrix, names, envir = globalenv())

Arguments

n

Square root of the dimension of the quadratic n\times n-Matrix.

matrix

Variable name of matrix of dimension n\times n 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 n\times n 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

## 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 May 29, 2024, 9:37 a.m.