Description Usage Arguments Value Examples
Edit an Agro-IBIS parameter file
1 2 3 4 5 6 7 8 9 10 | edit_parms(
crop.parms.lst,
table.name = c("crop_growth_physiology_properties",
"crop_growth_leafarea_c_allocation", "climatic_manage_planting_control",
"gdd_phenology_control", "wheat_growth_control", "misc_crop_control",
"sugarcane_control", "crop_residue_control"),
col = NULL,
row = NULL,
value = 0
)
|
crop.parms.lst |
list wth components as produced by 'read_crop_parms' |
table.name |
name of the table to edit |
col |
name (or index) of column to edit |
row |
name (or index) of row to edit |
value |
value for replacement |
list structure with replaced values
1 2 3 4 5 6 | extd.dir <- system.file("extdata", package = "agroibis")
cpp <- read_crop_parms(file = "params_text.crp", src.dir = extd.dir)
cpp[["wheat_growth_control"]]
cpp2 <- edit_parms(cpp, table.name = "wheat_growth_control",
col = 2, row = 1, value = 0.812)
cpp2[["wheat_growth_control"]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.