Description Usage Arguments Value
View source: R/basic_functions_classes.R
Draw cards from a given deck.
1 | new_cards(n, deck)
|
n |
The number of cards to be drawn from the deck |
deck |
An object of the S4 class "deck" which may have had cards drawn from it previously. |
A list of n+1 elements with the generated cards, as well as the deck contained in the last element.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.