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
2
corMatWizard(n = dim(matrix)[1], matrix = paste("diag(", n, ")"),
  names = paste("H", 1:n, sep = ""), envir = globalenv())

Arguments

n

Square root of the dimension of the nxn-Matrix.

matrix

Matrix of dimension nxn to start with.

names

Row and column names.

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
## Not run: 
corMatWizard(5)
C <- cor(matrix(rnorm(100),10), matrix(rnorm(100),10))
corMatWizard(matrix="C")

## End(Not run)

gMCP documentation built on May 2, 2019, 6:07 p.m.