summaryrefslogblamecommitdiff
path: root/CakeInit.R
blob: 3214e02876ec2b1ea91acf973a1099d8ccd14bd3 (plain) (tree)
1
2
3
4
5
6
7
8
9
     


                                                                           
                                                           
 
                                  
 
                                                                                









                                                                         
                                                                          
 
            
               


                       
                    




                         


                         
                        
                   





                                                           
                   


                                                               
#$Id$

# Purpose: Load the modules required by CAKE
# Call with chdir=TRUE so it can load our source from the current directory
# Tessella Project Reference: 6245, 7247, 8361, 7414, 10091

# Copyright (C) 2011-2022 Syngenta

#    The CAKE R modules are free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
# 
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
# 
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.

library(FME)
library(Rsolnp)
source("CakeModel.R")
source("CakeOlsFit.R")
source("CakeIrlsFit.R")
source("CakePlot.R")
source("CakeNullPlot.R")
source("CakeCost.R")
source("CakePenalties.R")
source("CakeMcmcFit.R")
source("CakeSummary.R")
source("CakeErrMin.R")
source("CakeHelpers.R")
source("CakeSolutions.R")
source("CakeOdeSolve.R")
source("CakeFit.R")

options(width=1000)
options(error=recover)
options(warn=-1)

# When running from C#, this must match the C# CAKE version
CAKE.version<-"3.5"

# The number of data points to use to draw lines on CAKE plots.
CAKE.plots.resolution<-401

Contact - Imprint