QR_matrix: Quality report objects

View source: R/QR_matrix_classes.R

QR_matrixR Documentation

Quality report objects

Description

QR_matrix() creates a QR_matrix object containing a quality report.

Usage

QR_matrix(modalities = NULL, values = NULL, score_formula = NULL)

mQR_matrix(x = list(), ...)

is.QR_matrix(x)

is.mQR_matrix(x)

Arguments

modalities

a data.frame containing the output variables' modalities (Good, Bad, etc.)

values

a data.frame containing the output variables' values (test p-values, test statistics, etc.) Therefore, the values data frame can contain more variables than the data frame modalities.

score_formula

the formula used to calculate the series score (if defined).

x

a QR_matrix object, a mQR_matrix object or a list of QR_matrix objects.

...

objects of the same type as x.

Details

mQR_matrix() creates a mQR_matrix object containing a list of quality reports (ie. a list of QR_matrix objects).

is.QR_matrix() and is.mQR_matrix() are functions to test whether an object is a quality report or a list of quality reports.

AQR_matrix object is a list of three items:

  • modalities, a data.frame containing a set of categorical variables (by default: Good, Uncertain, Bad, Severe).

  • values, a data.frame containing the values corresponding to the modalities indicators (i.e. p-values, statistics, etc.), as well as variables for which a modality cannot be defined (e.g. the series frequency, the ARIMA model, etc).

  • score_formula contains the formula used to calculate the series score (once the calculus is done).

See Also

Traduction française


AQLT/JDCruncheR documentation built on March 20, 2024, 2:32 p.m.