Predict values, given a model object, for a stars or stars_proxy object
# S3 method for stars_proxy
predict(object, model, ...)# S3 method for stars
predict(object, model, ..., drop_dimensions = FALSE)
object of class `stars`
model object of a class that has a predict method; check with `methods(class = class(object))`
arguments passed on to this predict method
logical; if `TRUE`, remove dimensions (coordinates etc) from `data.frame` with predictors
separate predictors in object need to be separate attributes in object; in case they are e.g. in a band dimension, use `split(object)`