removeParameters | R Documentation |
Remove parameters or predictors from an EcoCrop model
removeParameters(x, name) removePredictor(x, name)
x |
EcocropModel object |
name |
character. name of the variable to remove; or "ALL" to remove all parameters or predictors. |
Nothing is returned
pot <- ecocropPars("potato") m <- ecocrop(pot) crop(m) <- cbind(clay = c(0, 10, 30, 40)) removeParameters(m, "ph") dynamicPredictors(m) <- cbind(tavg=rep(15,12), prec=rep(100, 12)) removePredictor(m, "tavg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.