get_diagnostics: Get diagnostic values using parent environment.

View source: R/cbea_internals.R

get_diagnosticsR Documentation

Get diagnostic values using parent environment.

Description

This function is used internally inside fit_scores to grab the relevant objects from the previous parent environment (i.e. the environment from fit_scores) and compute relevant information. The role of this function is break diagnostic component into a different function for maintenance.

Usage

get_diagnostics(env = caller_env())

Value

This function returns a list of two components: diagnostic represent goodness-of-fit statistics for the distribution fitting itself while lmoment contains the l-moment comparisons between the computed raw scores, permuted scores, and other fitted distributions.


qpmnguyen/teaR documentation built on April 4, 2022, 7:26 p.m.