Join tables based on first column or first row

The function is a mixture of "base::cbind"/"base::rbind" and "dplyr::full_join". It attempts to combine matrices by columns or rows using the first column or row as a reference not repeating it each time.

cjoin_IQRtable(..., na.char = "--")

rjoin_IQRtable(..., na.char = "--")

Arguments

...

one or more tables or single list of tables to be combined.

na.char

character used to display missing elements in the output table.

Value

Matrix, the composition of the single tables.

Author

Daniel Kaschek, IntiQuan

Examples

if (FALSE) { # \dontrun{
M <- as_IQRtable(
  data.frame(
    parameter = c("a", "b"),
    value = c(1.35, 23.1)
  )
)

N <- as_IQRtable(
  data.frame(
    parameter = c("a", "c"),
    value = c(1.73, 0.05)
  )
)

cjoin_IQRtable(M, N)
rjoin_IQRtable(M, N)
} # }