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 08 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

vars  
VAR Modelling
Estimation, lag selection, diagnostic testing, forecasting, causality analysis, forecast error varia ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ptycho  
Bayesian Variable Selection with Hierarchical Priors
Bayesian variable selection for linear regression models using hierarchical priors. There is a pr ...
Download / Learn more Package Citations See dependency  
generator  
Generate Data Containing Fake Personally Identifiable Information
Allows users to quickly and easily generate fake data containing Personally Identifiable Informatio ...
Download / Learn more Package Citations See dependency  
candisc  
Visualizing Generalized Canonical Discriminant and Canonical Correlation Analysis
Functions for computing and visualizing generalized canonical discriminant analyses and canonical c ...
Download / Learn more Package Citations See dependency  

26,270

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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