Skip to content

Commit

Permalink
maturity transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
pboesu committed Jan 11, 2018
1 parent d4f754a commit 37772f9
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(get_lj)
export(get_tb)
export(get_tm_s)
export(get_ue0)
export(get_v_Hb)
importFrom(deSolve,ode)
importFrom(pracma,erfc)
importFrom(pracma,expint)
Expand Down
18 changes: 18 additions & 0 deletions R/get_v_Hb.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#' Scaled maturity volume at birth
#'
#' @param E_Hb maturity at birth
#' @param kap kappa
#' @param g energy investment ratio
#' @param p_Am maximum specific assimilation flux
#' @param v energy conductance
#' @param L_m maximum structural length
#'
#' @author Philipp Boersch-Supan
#'
#' @return Scaled maturity volume at birth v_Hb scalar
#' @export
#'
get_v_Hb <- function(E_Hb, kap, g, p_Am, v, L_m){
unname(E_Hb / ((1 - kap) * g * p_Am / v * L_m^3))
}
30 changes: 30 additions & 0 deletions man/get_v_Hb.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37772f9

Please sign in to comment.