Question: what is pgeom in r?
Answer: R function pgeom(q, prob, lower. tail) is the cumulative probability ( lower. tail = TRUE for left tail, lower. tail = FALSE for right tail) of less than or equal to q failures prior to success.