summaryrefslogtreecommitdiff
path: root/CakeInit.R
diff options
context:
space:
mode:
Diffstat (limited to 'CakeInit.R')
-rw-r--r--CakeInit.R39
1 files changed, 39 insertions, 0 deletions
diff --git a/CakeInit.R b/CakeInit.R
new file mode 100644
index 0000000..3e609d5
--- /dev/null
+++ b/CakeInit.R
@@ -0,0 +1,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