increase_output_bits: increase_output_bits

Description Usage Arguments Value Examples

Description

Increase the number of output bits in a composite algorithm.

Usage

1

Arguments

algo

A composite algorithm (R6 Class algo_composite)

n

(conditional, default = 1) The number of output bits to be added (integer)

Value

The composite algorithm (for function chaining)

Examples

1
2
3
4
5
6
7
# R function style:
a1 <- algo_composite$new(3,5);
increase_output_bits(a1, 2);

# R6 method style:
a2 <- algo_composite$new(3,5);
a2$increase_output_bits(2);

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