powered by
Symmetrically remove columns with only zero values or with missing values.
empty_remove(data_table)
A tibble/data.frame with a key row and a symmetric matrix, after removing all empty columns and rows at the same time.
A symmetric input-output table, or a symmetric part of a use table or a supply table.
test_table <- input_coefficient_matrix_create(iotable_get(source = "germany_1995")) test_table[, 2] <- 0 empty_remove (test_table)
Run the code above in your browser using DataLab