Skip to contents

Prints the upper age limit for a specific age, when following the "Half-Your-Age-Plus-Seven" Rule

Usage

upper_limit(age)

Arguments

age

numeric, the age the the output will be relative to

Value

The age that is the upper limit for the age entered

Examples

upper_limit(30)
#> [1] 46

upper_limit(15)
#> [1] 16

upper_limit(57)
#> [1] 100