Learn R Programming

gMCP (version 0.8-5)

corMatWizard: Graphical User Interface for the creation of correlation matrices

Description

Starts a graphical user interface for the correlation matrices.

Usage

corMatWizard(n=dim(matrix)[1], matrix=paste("diag(",n,")"), 
               names=paste("H",1:n,sep=""))

Arguments

n
Square root of the dimension of the $n\times n$-Matrix.
matrix
Matrix of dimension $n\times n$ to start with.
names
Row and column names.

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.

Examples

Run this code
corMatWizard(5)
corMatWizard(5)

Run the code above in your browser using DataLab