R/Tamminen_1993_SI_prediction_Finland.R

Defines functions Tamminen_1993_SI_prediction_southern_Finland_Scots_Pine Tamminen_1993_SI_prediction_southern_Finland_Norway_Spruce

Documented in Tamminen_1993_SI_prediction_southern_Finland_Norway_Spruce Tamminen_1993_SI_prediction_southern_Finland_Scots_Pine

#' SI prediction for Norway Spruce and Scots Pine in southern Finland.
#'
#' @source Tamminen, P. 1993. Pituusboniteetin ennustaminen kasvupaikan ominaisuuksien avulla
#' Etelä-Suomen kangasmetsissä. Summary: Estimation of site index for Scots Pine and Norway
#' spruce stands in South Finland using site properties. Folia Forestalia 819. 26 pp. Available
#' (16/03/2022): \url{https://jukuri.luke.fi/handle/10024/522402}
#'
#' @param vegetation One of "OMT"<"MT"<"VT"<"CT". For Spruce one of: ("LH" equal growth as "OMT")<"MT"<"VT"
#' @param temperature_sum Effective temperature sum (>5 C), e.g. Ojansuu & Henttonen 1983.
#' @param fine_fraction_lower_than_15_percent Boolean. TRUE if fine fraction of soil is lower than than 15 percent, otherwise FALSE (default)
#' @param clay_content_higher_than_10_percent Boolean. TRUE if clay content of soil is higher  than 10 percent, otherwise FALSE (default)
#'
#' @name tamminen_1993

Tamminen_1993_SI_prediction_southern_Finland_Norway_Spruce <- function(
  vegetation,
  temperature_sum,
  fine_fraction_lower_than_15_percent=FALSE,
  clay_content_higher_than_10_percent=FALSE
){
  LH <- ifelse(vegetation=="LH",1,0)
  OMT <- ifelse(vegetatation=="OMT",1,0)
  VT <- ifelse(vegetation=="VT",1,0)

  return(
    4.35 + 2.51*OMT + 0.0179*temperature_sum + -5.98*VT + 4.50*LH + -1.94*fine_fraction_lower_than_15_percent + -1.89*clay_content_higher_than_10_percent
  )

}

#' @rdname tamminen_1993
#' @param humus_thickness_cm Thickness of humus layer, in cm.
#' @param rod_penetration_cm Penetration of stone rod, e.g. Viro 1952.
#' @param shallow_soil Boolean. TRUE if shallow soil (<30 cm to bedrock) else FALSE (Default).
Tamminen_1993_SI_prediction_southern_Finland_Scots_Pine <- function(
    vegetation,
    temperature_sum,
    humus_thickness_cm,
    rod_penetration_cm,
    shallow_soil=FALSE
){
  CT <- ifelse(vegetation=="CT",1,0)
  MT <- ifelse(vegetation=="MT",1,0)
  OMT <- ifelse(vegetation=="OMT",1,0)

  return(
    4.86 + -4.94*CT + 2.16*MT + 0.0134*temperature_sum + -3.60*shallow_soil + 3.19*OMT + 0.066*rod_penetration_cm + -0.316*humus_thickness_cm
  )

}
Silviculturalist/forester documentation built on April 20, 2024, 2:13 p.m.