In addition to the datasets, the pathways in the degradation model can be specified as well.
CAKE_export(
ds,
map = c(parent = "Parent"),
links = NA,
filename = "CAKE_export.csf",
path = ".",
overwrite = FALSE,
study = "Degradinol aerobic soil degradation",
description = "",
time_unit = "days",
res_unit = "% AR",
comment = "",
date = Sys.Date(),
optimiser = "IRLS"
)
The function is called for its side effect.
A named list of datasets in long format as compatible with
mkinfit
.
A character vector with CAKE compartment names (Parent, A1, ...), named with the names used in the list of datasets.
An optional character vector of target compartments, named with the names of the source compartments. In order to make this easier, the names are used as in the datasets supplied.
Where to write the result. Should end in .csf in order to be compatible with CAKE.
An optional path to the output file.
If TRUE, existing files are overwritten.
The name of the study.
An optional description.
The time unit for the residue data.
The unit used for the residues.
An optional comment.
The date of file creation.
Can be OLS or IRLS.
Johannes Ranke