Showing Arguments of NMF Algorithms

Description

This function returns the extra arguments that can be passed to a given NMF algorithm in call to nmf.

nmfArgs is a shortcut for args(nmfWrapper(x)), to display the arguments of a given NMF algorithm.

Usage

nmfFormals(x, ...)

nmfArgs(x)

Arguments

x
algorithm specification
...
extra argument to allow extension

Examples


# show arguments of an NMF algorithm
nmfArgs('brunet')
## function (..., .stop = NULL, maxIter = 2000, copy = FALSE, eps = .Machine$double.eps, 
##     stopconv = 40, check.interval = 10) 
## NULL
nmfArgs('snmf/r')
## function (..., maxIter = 20000L, eta = -1, beta = 0.01, bi_conv = c(0, 
##     10), eps_conv = 1e-04) 
## NULL