Learn R Programming

NMF (version 0.16.1)

canFit: Testing Compatibility of Algorithm and Models

Description

canFit is an S4 generic that tests if an algorithm can fit a particular model.

Usage

canFit(x, y, ...)

## S3 method for class 'NMFStrategy,character': canFit(x, y, exact = FALSE)

Arguments

x
an object that describes an algorithm
y
an object that describes a model
...
extra arguments to allow extension
exact
for logical that indicates if an algorithm is considered able to fit only the models that it explicitly declares (TRUE), or if it should be considered able to also fit models that extend models that it explicitly fits.

See Also

Other regalgo: nmfAlgorithm