read_criteria_from_xl: Read the criteria from a spreadsheet

Description Usage Arguments Value

View source: R/read_criteria_from_xl.R

Description

This spreadsheet has to have column names '‘id'’, '‘parentCriterion'’, '‘label'’, '‘description'’, and '‘isLeaf'’.

Usage

1
2
3
4
5
6
read_criteria_from_xl(
  input,
  showGraphs = TRUE,
  rootCriterionId = mdmcda::opts$get("rootCriterionId"),
  ...
)

Arguments

input

The file to read from.

showGraphs

Whether to show the anchoring graphs (passed on to [mdmcda::anchoringDf_to_anchoringGraphs()]).

rootCriterionId

The identifier of the root criterion.

...

Passed on to [mdmcda::anchoringDf_to_anchoringGraphs()].

Value

A 'criteria' object.


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