Learn R Programming

prithulib (version 1.0.2)

Perform Random Experiments

Description

Enables user to perform the following: 1. Roll 'n' number of die/dice (roll()). 2. Toss 'n' number of coin(s) (toss()). 3. Play the game of Rock, Paper, Scissors. 4. Choose 'n' number of card(s) from a pack of 52 playing cards (Joker optional).

Copy Link

Version

Install

install.packages('prithulib')

Monthly Downloads

116

Version

1.0.2

License

GPL

Maintainer

Prithul Chaturvedi

Last Published

January 11th, 2019

Functions in prithulib (1.0.2)

rpc

Rock, Paper, Scissors
cards

Choosing a card
roll

Rolling an unbiased die
toss

Tossing an unbiased coin