fit {mlapi} | R Documentation |
Fits model to data
Description
Generic function to fit models (inherited from mlapiEstimation)
Usage
fit(x, model, y = NULL, ...)
## S3 method for class 'Matrix'
fit(x, model, y = NULL, ...)
## S3 method for class 'matrix'
fit(x, model, y = NULL, ...)
Arguments
x |
A matrix like object, should inherit from |
model |
instance of class |
y |
|
... |
additional data/model dependent arguments to downstream functions. |
Value
invisible(object$self())
[Package mlapi version 0.1.1 Index]