Predict method for nested_fit objects
predict.nested_fit.Rd
Predict method for nested_fit objects
Usage
# S3 method for class 'nested_fit'
predict(object, newx, ...)
Arguments
- object
An S3 object with class
nested_fit
. The two-stage nested model.- newx
A numeric matrix with the same number of columns and column names as the matrix used to fit the model. Rows correspond to samples, columns to features.
- ...
Other arguments for the normal predict function if the fit is not a nested_fit object.