plot_bnum: plot_bnum

Description Usage Arguments Value Examples

Description

Generate a visualization of a binary number, following the general look and feel of the haricot package.

Usage

1

Arguments

n

The binary number to be plotted.

...

For future usage.

Value

A plotted binary number.

Examples

1
2
3
4
5
6
# R function style:
n <- bnum$new("1010111000");;
plot_bnum(n);

# R6 class method style:
n$plot();

daviddoret/haricot documentation built on May 21, 2019, 1:42 a.m.