binaryTree: Function to evaluate a binary tree

Description Usage Arguments Value

View source: R/utilities-tree.R

Description

Function to evaluate a binary tree

Usage

1
binaryTree(x, n, rng, gran, universeSize, depth)

Arguments

x

Numeric vector to be represented as a binary tree in vector form

n

Number of observations in x

rng

An a priori estimate of the range of x

gran

The granularity at which x is represented in the tree

universeSize

Difference in the range of x over the granularity, plus 1

depth

The depth of the binary tree

Value

A binary tree in vector form


privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.