Learn R Programming

rbit (version 1.0.0)

Binary Indexed Tree

Description

A simple implementation of Binary Indexed Tree by R. The BinaryIndexedTree class supports construction of Binary Indexed Tree from a vector, update of a value in the vector and query for the sum of a interval of the vector.

Copy Link

Version

Install

install.packages('rbit')

Monthly Downloads

145

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Jialun Zhang

Last Published

July 22nd, 2018

Functions in rbit (1.0.0)

BinaryIndexedTree

A simple implementation of Binary Indexed Tree as an R6 class.