Description Usage Arguments Value Examples
Gets interval values related to categories, stored in the <categoriesValues>
tag, from an XML tree written according to the XMCDA
standard.
1 | getCategoriesIntervalValues(tree, categoriesIDs, mcdaConcept = NULL)
|
tree |
Object containing the |
categoriesIDs |
A vector containing the IDs of the categories to be considered for the extractions. |
mcdaConcept |
A string containing the specific |
The function returns a list structured as follows:
– |
The first elements contain matrices representing each an |
status |
Either OK if all the |
1 2 3 4 5 6 7 | tree <- xmlTreeParse(system.file("extdata",
"testFile.xml",
package="RXMCDA"),
useInternalNodes=TRUE)
categoriesIDs <- getCategoriesIDs(tree)
intervalValues <- getCategoriesIntervalValues(tree, categoriesIDs[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.