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

foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
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  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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