rbits {PRNG}R Documentation

Random Bit generator

Description

this function generates random bits of desired length

Usage

rbits(n, Time = TRUE)

Arguments

n

number of bits required

Time

it is a boolean value of TRUE/FALSE if we want to generate time dependent random bits.i.e each time we call the function with same input different output will be generated.

Value

returns a vector of random bits of length n

Examples

rbits(2)
rbits(2)
rbits(2,Time=FALSE)
rbits(2,Time=FALSE)
 rbits(10)


[Package PRNG version 0.0.2 Index]