summaryrefslogtreecommitdiff
path: root/CakeInit.R
blob: 3e609d518548fafddc53d0f1211ebac9bed875e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#$Id: CakeInit.R 221 2011-11-01 14:12:45Z nelr $

# 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)
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<-"1.4"

Contact - Imprint