residuals.bgnlm_model function

Residuals for BGNLM Model