set_postsets: Set postsets

Description Usage Arguments Value

View source: R/set_postsets.R

Description

Postsets are specifications of estimates in a non-performance-table format that can be applied to a 'multiEstimateDf'.

Usage

1
2
3
4
5
6
7
8
set_postsets(
  multiEstimateDf,
  postsets,
  coder,
  decisionId_col = mdmcda::opts$get("decisionId_col"),
  criterionId_col = mdmcda::opts$get("criterionId_col"),
  alternativeValue_col = mdmcda::opts$get("alternativeValue_col")
)

Arguments

multiEstimateDf

The 'multiEstimateDf' to set the postsets in.

postsets

The data frame with the postsets. This data frame must have at least the four columns specified by the other four arguments.

coder

The name of the column containing the estimates to replace (typically estimated by a particular coder).

decisionId_col, criterionId_col, alternativeValue_col

The names of the columns with the decision and criterion identifiers and the alternative value to which each estimate by 'coder' pertains.

Value

The 'multiEstimateDf' with replaced postset estimates.


Matherion/mdmcda documentation built on Dec. 31, 2020, 3:13 p.m.