# Performance matrix

Source: `R/mcda.R`
`performance_matrix.Rd`

Create a performance matrix, which compares mean values of different criteria across treatment strategies.

    performance_matrix(x, strategy, criteria, cri = TRUE, digits = 2,
      rownames = NULL, colnames = NULL)

## Arguments

x | A `data.frame` or `data.table` of simulation output characterizing the probability distribution of model outcomes.
strategy | Character name of column from `x` denoting treatment strategy.
criteria | A vector of character names of columns from `x` denoting the criteria to use in the multi criteria decision analysis (MCDA).
cri | If `TRUE`, credible intervals are computed; otherwise they are not.
digits | Number of digits to use.
rownames | Row names for returned table.
colnames | Column names for returned table.

## Value

A matrix where each row is a criteria and a each column is a treatment strategy.

## See also

`mcda`