R/mdmb_regression_adjustment_differentiation_parameter.R

Defines functions mdmb_regression_adjustment_differentiation_parameter

## File Name: mdmb_regression_adjustment_differentiation_parameter.R
## File Version: 0.03

mdmb_regression_adjustment_differentiation_parameter <- function(h, par )
{
    # adjustment of differentiation parameter in CDM::numerical_Hessian
    abs_par <- abs(par)
    hvec <- h * ifelse(abs_par > 1, abs_par, 1)
    return(hvec)
}
alexanderrobitzsch/mdmb documentation built on July 18, 2024, 11:14 p.m.