| rbind.QR_matrix {JDCruncheR} | R Documentation |
Combining QR_matrix objects
Description
Function to combine multiple QR_matrix objects: line by line, both for the modalities and the values table.
Usage
## S3 method for class 'QR_matrix'
rbind(..., check_formula = TRUE)
Arguments
... |
|
check_formula |
logical indicating whether to check the score formulas' coherency.
By default, |
Value
rbind.QR_matrix() returns a QR_matrix object.
See Also
Other QR_matrix functions:
export_xlsx(),
export_xlsx.QR_matrix(),
export_xlsx.mQR_matrix(),
extract_QR(),
sort(),
weighted_score()
Examples
# Path of matrix demetra_m
demetra_path <- file.path(
system.file("extdata", package = "JDCruncheR"),
"WS/ws_ipi/Output/SAProcessing-1",
"demetra_m.csv"
)
# Extract the quality report from the demetra_m file
QR <- extract_QR(demetra_path)
# Compute differents scores
QR1 <- compute_score(QR, score_pond = c(m7 = 2, q = 3, qs_residual_sa_on_sa = 5))
QR2 <- compute_score(QR, score_pond = c(m7 = 2, qs_residual_sa_on_sa = 5))
# Merge two quality report
try(rbind(QR1, QR2)) # Une erreur est renvoyée
rbind(QR1, QR2, check_formula = FALSE)
[Package JDCruncheR version 0.2.4 Index]