QR_var_manipulation: Editing the indicators list

QR_var_manipulationR Documentation

Editing the indicators list

Description

Functions to remove indicators (remove_indicators()) or retrain some indicators only (retain_indicators()) from QR_matrix or mQR_matrix objects. The series names (column "series") cannot be removed.

Usage

remove_indicators(x, ...)

retain_indicators(x, ...)

Arguments

x

a QR_matrix or mQR_matrix object.

...

names of the variable to remove (or keep)

See Also

Traduction française

Other var QR_matrix manipulation: add_indicator(), recode_indicator_num()

Examples

## Not run: 
QR <- compute_score(extract_QR())
retain_indicators(QR, "score", "m7") # Only the score and the m7 variables are kept
retain_indicators(QR, c("score", "m7")) # equivalent syntax
score(remove_indicator(QR, "score")) # The score is removed

## End(Not run)

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