| compute_fit_stats | R Documentation |
Taks a matrix of calibrations, a matrix of predictions, the vector of observed performances, the number of observed assembly motifs, and return a matrix of statistics for model goodness-of-fit.
compute_fit_stats(mCal, mPrd, fobs, xpr, nbK)
mCal |
a numeric matrix. This matrix is the matrix of performances predicted by the tree model. |
mPrd |
a numeric matrix. This matrix is the matrix of performances predicted by cross-validation. |
fobs |
a numeric vector. The vector |
xpr |
a vector of numerics of |
nbK |
an integer. This integer corresponds to the number of observed assembly motifs. |
Be careful, the matrix order is not ramdon.
The first argument mCal is matrix of modelled values.
The second argument mPrd is matrix of values
predicted by cross-validation.
The third argument fobs is the vector of observed values.
Return statistics of model goodness-of-fit.