powered by
Prints a short summary of a model_adapter object, including the signatures of its fit and predict functions.
model_adapter
fit
predict
# S3 method for model_adapter print(x, ...)
Invisibly returns x.
x
An object of class model_adapter.
Further arguments passed to or from other methods (ignored).
adapter <- list( fit = function(data, y) NULL, predict = function(newdata) numeric(0) ) class(adapter) <- "model_adapter" print(adapter)
Run the code above in your browser using DataLab