top_n_dice: Helper function to get sum of top n dice

View source: R/dice-formula.R

top_n_diceR Documentation

Helper function to get sum of top n dice

Description

Helper function to get sum of top n dice

Usage

top_n_dice(x, n, dec = F)

Arguments

x

Vector of dice-values

n

Number of dice

dec

Decreasing


tidydice documentation built on Feb. 16, 2023, 7:50 p.m.