R/cov_clm__getDerivativesExprList____main.R

Defines functions getDerivativesExprList

getDerivativesExprList <- function(sigmaThetaExprList) {
  derivativesExprList <- lapply(sigmaThetaExprList$expr, function(expr) {
    stats::deriv(expr, sigmaThetaExprList$paramsNames, hessian = TRUE)
  })

  return(derivativesExprList)
}
phmpacheco-ufjf/clm documentation built on Dec. 22, 2021, 8:40 a.m.