aboutsummaryrefslogtreecommitdiff
path: root/R/mkinmod.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-01-22 10:46:44 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2014-01-22 10:46:44 +0100
commit9ef8537149a37ebef8a2a18232644202872bbe55 (patch)
tree066de4b62d6fa8078637fe23ae466fe0f525629e /R/mkinmod.R
parentaf4a101d2cca91598ec5d1dc297c31a75517b139 (diff)
parent8b94131388071980e62c17190eb4229e89975a0c (diff)
Merge branch 'master' of https://github.com/jranke/mkin
Conflicts: DESCRIPTION R/mkinfit.R
Diffstat (limited to 'R/mkinmod.R')
-rw-r--r--R/mkinmod.R15
1 files changed, 2 insertions, 13 deletions
diff --git a/R/mkinmod.R b/R/mkinmod.R
index c743777b..2bc6ae35 100644
--- a/R/mkinmod.R
+++ b/R/mkinmod.R
@@ -1,6 +1,4 @@
-# $Id$
-
-# Copyright (C) 2010-2012 Johannes Ranke {{{
+# Copyright (C) 2010-2013 Johannes Ranke {{{
# Contact: jranke@uni-bremen.de
# This file is part of the R package mkin
@@ -46,19 +44,10 @@ mkinmod <- function(..., use_of_ff = "min", speclist = NULL)
# fractions
if(spec[[1]]$type %in% c("FOMC", "DFOP", "HS")) {
mat = FALSE
- if(!is.null(spec[[1]]$to)) {
- message <- paste(
- "Only constant formation fractions over time are implemented.",
- "Depending on the reason for the time dependence of degradation",
- "this may be unrealistic. You may want to consider using the",
- "SFORB model",
- sep="\n")
- warning(message)
- } else message <- "ok"
} else mat = TRUE
#}}}
- # Establish list of differential equations as well as map from observed {{{
+ # Establish a list of differential equations as well as a map from observed {{{
# compartments to differential equations
for (varname in obs_vars)
{

Contact - Imprint