Skip to content
Snippets Groups Projects
Commit b4eda33d authored by Claus Jonathan Fritzemeier's avatar Claus Jonathan Fritzemeier
Browse files

making addReact a method 1

parent 28e3ea57
Branches
No related tags found
No related merge requests found
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
# The algorithm is (more or less) the same. # The algorithm is (more or less) the same.
addReact <- function(model, setMethod("addReact", signature(model = "modelorg"),
function(model,
id, id,
met, met,
Scoef, Scoef,
...@@ -410,5 +411,5 @@ addReact <- function(model, ...@@ -410,5 +411,5 @@ addReact <- function(model,
return(mod_out) return(mod_out)
} })
...@@ -38,6 +38,10 @@ setGeneric(name = "addColsToProb", ...@@ -38,6 +38,10 @@ setGeneric(name = "addColsToProb",
def = function(lp, ...) { standardGeneric("addColsToProb") } def = function(lp, ...) { standardGeneric("addColsToProb") }
) )
setGeneric(name = "addReact",
def = function(model, ...) { standardGeneric("addReact") }
)
setGeneric(name = "addRows", setGeneric(name = "addRows",
def = function(lp, nrows, ...) { standardGeneric("addRows") } def = function(lp, nrows, ...) { standardGeneric("addRows") }
) )
......
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
\newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}} \newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
\section{Changes in version 2.0.4 2017-07-17}{
\itemize{
\item \code{addReact} is now a method of the \code{modelorg} class.
}
}
% ---------------------------------------------------------------------------- %
\section{Changes in version 2.0.3 2017-04-20}{ \section{Changes in version 2.0.3 2017-04-20}{
\itemize{ \itemize{
\item Preparation for \code{sybilNLO}. \item Preparation for \code{sybilNLO}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment