Ratio matrix

ratio_matrix(x, diag = TRUE, upper = TRUE)