summaryrefslogblamecommitdiff
path: root/CakeInit.R
blob: 0adab40e0865b179fd5edc95d9056b5447d60ac6 (plain) (tree)
1
     




















                                                                           
               















                                                           
                   
#$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

# Copyright (C) 2011 Syngenta

#    This program is 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(mkin)
library(Rsolnp)
source("CakeModel.R")
source("CakeOlsFit.R")
source("CakeIrlsFit.R")
source("CakeOlsPlot.R")
source("CakeIrlsPlot.R")
source("CakeNullPlot.R")
source("CakeCost.R")
source("CakePenalties.R")
source("CakeMcmcFit.R")
source("CakeSummary.R")

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

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

Contact - Imprint