Gradient with supplied coefficients
# S3 method for nmm
gradient(
res,
new_coef = NULL,
separatenmm = FALSE,
transform = FALSE,
methodopt = "NA",
ind_grad = FALSE
)
result from nmm
coefficients for which logLik should be calculated
return separatenmm LL for each equation
to do quantile transformation
"NA" means that automatic algorithm was used in maxLik, if equal to "BHHH" will return LL for each individual
get individual gradient values