Other packages > Find by keyword >

mmcards  

Playing Cards Utility Functions
View on CRAN: Click here


Download and install mmcards package within the R console
Install from CRAN:
install.packages("mmcards")

Install from Github:
library("remotes")
install_github("cran/mmcards")

Install by package version:
library("remotes")
install_version("mmcards", "0.1.1")



Attach the package and use:
library("mmcards")
Maintained by
Mackson Ncube
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-09-06
Latest Update: 2023-09-06
Description:
Early insights in probability theory were largely influenced by questions about gambling and games of chance, as noted by Blitzstein and Hwang (2019, ISBN:978-1138369917). In modern times, playing cards continue to serve as an effective teaching tool for probability, statistics, and even 'R' programming, as demonstrated by Grolemund (2014, ISBN:978-1449359010). The 'mmcards' package offers a collection of utility functions designed to aid in the creation, manipulation, and utilization of playing card decks in multiple formats. These include a standard 52-card deck, as well as alternative decks such as decks defined by custom anonymous functions and custom interleaved decks. Optimized for the development of educational 'shiny' applications, the package is particularly useful for teaching statistics and probability through card-based games. Functions include shuffle_deck(), which creates either a shuffled standard deck or a shuffled custom alternative deck; deal_card(), which takes a deck and returns a list object containing both the dealt card and the updated deck; and i_deck(), which adds image paths to card objects, further enriching the package's utility in the development of interactive 'shiny' application card games.
How to cite:
Mackson Ncube (2023). mmcards: Playing Cards Utility Functions. R package version 0.1.1, https://cran.r-project.org/web/packages/mmcards. Accessed 06 Mar. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited mmcards R package
View mmcards citation profile
Other R packages that mmcards depends, imports, suggests or enhances
Complete documentation for mmcards
Functions, R codes and Examples using the mmcards R package
Some associated functions: deal_card . i_deck . shuffle_deck . standard_deck . vector_playing_cards . 
Some associated R codes: data.R . deck_funcs.R . globals.R . image_funcs.R .  Full mmcards package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA