E_req {eddington} | R Documentation |
Determine the number of additional rides required to achieve a specified Eddington number.
E_req(rides, candidate)
rides |
A vector of mileage, where each element represents a single day. |
candidate |
The Eddington number to test for. |
An integer vector of length 1. Returns 0L
if E is
already achieved.