aboutsummaryrefslogblamecommitdiff
path: root/man/CAKE_export.Rd
blob: fc0aedf57422b4c756ac7a3ad2aa47c89ebd48f3 (plain) (tree)
1
2
3
4
5
6
                                              
                   
                                                             
       





                               
                                                

                     
               

                    
           




























                                                                            
       



                                                                         
        
              
 
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CAKE_export.R
\name{CAKE_export}
\alias{CAKE_export}
\title{Export a list of datasets format to a CAKE study file}
\usage{
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"
)
}
\arguments{
\item{ds}{A named list of datasets in long format as compatible with
\code{\link{mkinfit}}.}

\item{map}{A character vector with CAKE compartment names (Parent, A1, ...),
named with the names used in the list of datasets.}

\item{links}{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.}

\item{filename}{Where to write the result. Should end in .csf in order to be
compatible with CAKE.}

\item{path}{An optional path to the output file.}

\item{overwrite}{If TRUE, existing files are overwritten.}

\item{study}{The name of the study.}

\item{description}{An optional description.}

\item{time_unit}{The time unit for the residue data.}

\item{res_unit}{The unit used for the residues.}

\item{comment}{An optional comment.}

\item{date}{The date of file creation.}

\item{optimiser}{Can be OLS or IRLS.}
}
\value{
The function is called for its side effect.
}
\description{
In addition to the datasets, the pathways in the degradation model can be
specified as well.
}
\author{
Johannes Ranke
}

Contact - Imprint