data.tree
data.tree copied to clipboard
General Purpose Hierarchical Data Structure for R
The function `FromDataFrameNetwork()` will silently create duplicates of a single record (node named "c" in the example below) in case that it refers to parent node name which is duplicated...
I am trying to create dataframe from hierachy dataframe (STIC4) and i get an error. however if I read STIC3 sheet, everything works fine utils::browseURL("https://unstats.un.org/unsd/classifications/Econ") utils::download.file("https://unstats.un.org/unsd/classifications/Econ/Download/In%20Text/SITCCodeandDescription.xlsx", "SITCCodeandDescription.xlsx", mode = "wb",...
In data.tree version 1.1.0 (installed from CRAN, and also observed when installing from GitHub), the FindNode method on Node objects appears to be unavailable. Node_instance$FindNode evaluates to NULL, is.function(Node_instance$FindNode) is...
Can I create a binary tree with nodes of attributes (binary vector value, left child, right child, parent, depth)? The inserted elements are compared based on specific conditions so that...