predict.nmfkc generates predictions from an object of class nmfkc, either using the fitted covariates or a new covariate matrix.

# S3 method for class 'nmfkc'
predict(object, newA = NULL, type = "response", ...)

Arguments

object

An object of class nmfkc, i.e., the return value of nmfkc.

newA

Optional. A new covariate matrix to be used for prediction.

type

Type of prediction to return. Options are "response", "prob", "class".

...

Further arguments passed to or from other methods.