Learn R Programming

eddington (version 4.2.0)

E_req: Determine the number of additional rides required to achieve a specified Eddington number

Description

Determine the number of additional rides required to achieve a specified Eddington number.

Usage

E_req(rides, candidate)

Value

An integer vector of length 1. Returns 0L if E is already achieved.

Arguments

rides

A vector of mileage, where each element represents a single day.

candidate

The Eddington number to test for.

See Also

E_cum, E_next, E_num, E_sat