
Update Model
update.Rd
Update one or more slots of a ProgressModel
object.
Usage
update(object, ...)
# S4 method for ProgressModel
update(object, ...)
# S4 method for ProgressModelList
update(object, ...)
Arguments
- object
an object of class
ProgressModel
orProgressModelList
. whose slots are to be updated.- ...
extra arguments.
Examples
if (FALSE) {
# Create a Region object
library(cronus)
region <- Region(name = "nebraska", type = "us state",
div = c(country = "United States", state = "Nebraska"))
object <- new("ProgressCLM", region = region, crop = "Corn", model = "A")
object <- update(object, region = region, crop = "Soybeans", model = "B")
}