opnmfR_test_ranksel: Rank selection test on user provided data Runs all three...

Description Usage Arguments Value See Also Examples

View source: R/opnmfR.R

Description

Rank selection test on user provided data Runs all three avilable rank selection methods.

Usage

1
opnmfR_test_ranksel(X = NULL, rs = NULL, W0 = "nndsvd", nrepeat = 1)

Arguments

X

A matrix, if NULL the "iris" data is used (default NULL)

rs

A vector of ranks to test for selection, if rs=NULL then 1:nrow(X) is used (default NULL)

W0

A string or matrix for initialization (default "nndsvd")

nrepeat

A number, number of iterations for rank selection, i.e. number of permutations for opnmfR_ranksel_perm and number of split-halves for opnmfR_ranksel_splithalf (default 1)

Value

A list with rank selection outputs from opnmfR_ranksel_perm, opnmfR_ranksel_ooser, and opnmfR_ranksel_splithalf

See Also

opnmfR_ranksel_perm, opnmfR_ranksel_ooser, and opnmfR_ranksel_splithalf

Examples

1
result <- opnmfR_test_ranksel()

kaurao/opnmfR documentation built on March 12, 2021, 4:15 a.m.