We will introduce new names for some functions but keep the old names around as aliases. Introducing aliases is very easy in R. For example
#' Alias for getAvailEnergy
#'
#' #' An alias provided for backward compatibility with mizer version <= 1.0
#' @inherit getAvailEnergy
getPhiPrey <- getAvailEnergy
Here are the aliases I have started to introduce. The name on the right is the new one.
MizerParams <- multispeciesParams
getPhiPrey <- getAvailEnergy
getM2 <- getPredMort
getM2Background <- getPlanktonPredMort
getZ <- getMort
getESpawning<- getERepro # To be consistent with getEReproAndGrowth
Until our next release we can come up with better names. So all suggestions welcome @richardsouthwell .
We will introduce new names for some functions but keep the old names around as aliases. Introducing aliases is very easy in R. For example
Here are the aliases I have started to introduce. The name on the right is the new one.
Until our next release we can come up with better names. So all suggestions welcome @richardsouthwell .