c.card.Rd
Method for c() that combines one or more card vectors into a single vector.
c()
card
# S3 method for class 'card' c(...)
One or more objects of class "card".
"card"
A combined card vector.
hand1 <- card(c("A", "10"), c("♠", "♦")) hand2 <- card(c("Q"), c("♥")) c(hand1, hand2) #> <card[3]> #> [1] A♠ 10♦ Q♥