predict.stars | R Documentation |
Predict values, given a model object, for a stars or stars_proxy object
## S3 method for class 'stars_proxy'
predict(object, model, ...)
## S3 method for class 'stars'
predict(object, model, ..., drop_dimensions = FALSE)
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 |
drop_dimensions |
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)'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.