Geometric Distribution - Expected number of rolls of a die before a value occurs : <p>Say I want to calculate the expected number of rolls of a die before a particular value is rolled, let's say a 5. I know this involves geometric distribution. Is there an R function that can calculate this?</p>
