Learn R Programming

RXMCDA (version 1.5.5)

putAlternativesPlot: Put plot in base64 related to alternatives

Description

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

Usage

putAlternativesPlot(tree, base64plot, alternativesIDs, mcdaConcept=NULL, name=NULL)

Arguments

tree
Object containing the XMCDA XML tree.
base64plot
String containing the base64 encoding of the plot.
alternativesIDs
A vector of alternatives' 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.