RandMatFRCN: Create a Random Matrix: FRCN

Description Usage Arguments Value Examples

View source: R/RandMat.R

Description

Create a Random Matrix: FRCN

Usage

1
RandMatFRCN(p, d, nmix, catMap = NULL, ...)

Arguments

p

the number of dimensions.

d

the number of desired columns in the projection matrix.

nmix

mupliplier to d to specify the number of non-zeros.

catMap

a list specifying specifies which one-of-K encoded columns in X correspond to the same categorical feature.

...

used to handle superfluous arguments passed in using paramList.

Value

A random matrix to use in running RerF.

Examples

1
2
3
4
5
6
p <- 8
d <- 8
nmix <- 5
paramList <- list(p = p, d = d, nmix = nmix)
set.seed(8)
(a <- do.call(RandMatFRCN, paramList))

rerf documentation built on May 2, 2019, 8:16 a.m.