Description Usage Arguments Value Examples
Gets Mobius capacities, stored in the <criteriaValues>
tag, from an XML tree written according to the XMCDA
standard.
1 2 | getMobiusCapacities(tree, criteriaIDs, numberOfCriteria,
kadditivity, mcdaConcept = NULL)
|
tree |
Object containing the |
criteriaIDs |
A vector containing the IDs of the criteria to be considered for the extractions. |
numberOfCriteria |
The total number of criteria to be considered. |
kadditivity |
The level of k-additivity to be considered. |
mcdaConcept |
A string containing the specific |
The function returns a list structured as follows:
– |
The first elements contain the |
status |
Either OK if all the |
1 2 3 4 5 6 7 8 9 | tree <- xmlTreeParse(system.file("extdata",
"testFile.xml",
package="RXMCDA"),
useInternalNodes=TRUE)
critIDs <- getCriteriaIDs(tree)
capa <- getMobiusCapacities(tree, critIDs[[1]], 5, 5,
mcdaConcept="mobiusCapacity")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.