Learn R Programming

futile.matrix (version 1.2.7)

RandomMatrixModel: Type constructors for random matrices and ensembles of random matrices

Description

Provides type constructors for creating random matrices. Various studies can be initiated afterward.

Arguments

real

Whether the matrix has real components or not

n

Number of rows

m

Number of columns

m1

Number of columns

m2

Number of columns

sd

Standard deviation of the sample population

count

Number of matrices in the ensemble

model

The random matrix model to use

Value

Returns a model type. Use with rmatrix or Ensemble to generate actual matrices.

Usage

RandomMatrixModel(real=TRUE, ...)

WignerMatrix(x, model)

WishartModel(n, m, sd=1, ...)

JacobiModel(n, m1, m2, ...)

Ensemble(count, model)

Examples

Run this code
# NOT RUN {
model <- WignerModel(10)
m <- rmatrix(model)
e <- Ensemble(20, model)
# }

Run the code above in your browser using DataLab