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 04 Jun. 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

crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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