putAlternativesPlot: Put plot in base64 related to alternatives

Description Usage Arguments Value

View source: R/libxmcda.R

Description

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

Usage

1
2
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 <alternativeValue> tag could be correctly put, or the description of the error.


RXMCDA documentation built on May 1, 2019, 10:23 p.m.