Predict values, given a model object, for a stars or stars_proxy object

# S3 method for stars
predict(object, model, ...)

# S3 method for stars_proxy
predict(object, model, ...)

Arguments

object

object of class `stars`

model

model object of a class that has a predict method; check with `methods(class = class(object))`

...

arguments passed on to this predict method

Details

separate predictors in object need to be separate attributes in object; in case they are e.g. in a band dimension, use `split(object)`