putCriteriaPlot: Put a plot in base64 related to criteria

Description Usage Arguments Value

View source: R/libxmcda.R

Description

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

Usage

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


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