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 15 Jul. 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

footBayes  
Fitting Bayesian and MLE Football Models
This is the first package allowing for the estimation, visualization and prediction of the most wel ...
Download / Learn more Package Citations See dependency  
gscaLCA  
Generalized Structure Component Analysis- Latent Class Analysis & Latent Class Regression
Execute Latent Class Analysis (LCA) and Latent Class Regression (LCR) by using Generalized Structu ...
Download / Learn more Package Citations See dependency  
pulseTD  
Identification of Transcriptional Dynamics using Pulse Models via 4su-Seq Data and RNA-Seq Data
A tool for analyzing the transcription, processing and degradation rates of genes by 4sU-seq (the Me ...
Download / Learn more Package Citations See dependency  
binhf  
Haar-Fisz Functions for Binomial Data
Binomial Haar-Fisz transforms for Gaussianization as in Nunes and Nason (2009). ...
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  
gamlss.add  
Extra Additive Terms for Generalized Additive Models for Location Scale and Shape
Interface for extra smooth functions including tensor products, neural networks and decision trees. ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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