Learn R Programming

RXMCDA (version 1.5.5)

putCriteriaPlot: Put a plot in base64 related to criteria

Description

Puts a plot coded in base64 as a criterionValue tag in an XML tree written according to the XMCDA standard.

Usage

putCriteriaPlot(tree, base64plot, criteriaIDs, mcdaConcept=NULL, name=NULL)

Arguments

tree
Object containing the XMCDA XML tree.
base64plot
String containing the base64 encoding of the plot.
criteriaIDs
A vector of criteria's IDs.
mcdaConcept
A string containing the specific mcdaConcept attribute which should be written.
name
A string containing the specific name attribute which should be written.

Value

The function returns a list structured as follows:
status
Either OK if the tag could be correctly put, or the description of the error.