R/AHR1985.R

Defines functions AHR1985

Documented in AHR1985

AHR1985 <-
function(HC=NULL,FC,equation=c("bip","quad"),data=NULL) {
  if(equation=="quad") {
    AHR1985<-round(0.078*(HC+FC)^2.73,2)
  }
  if(equation=="bip") {
    AHR1985<-round(0.16*(FC)^2.73,2)
  }
  return(cbind(data,AHR1985))
}

Try the MASSTIMATE package in your browser

Any scripts or data that you put into this service are public.

MASSTIMATE documentation built on Jan. 8, 2021, 2:22 a.m.