Learn R Programming

fritools (version 3.3.0)

golden_ratio: Calculate the Golden Ratio

Description

Divide a length using the golden ratio.

Usage

golden_ratio(x)

Arguments

x

The sum of the two quantities to be in the golden ratio.

Value

A numeric vector of length 2, containing the two quantities a and b, a being the larger.

See Also

Other bits and pieces: is_difftime_less(), is_valid_primary_key(), r_cmd_install(), round_half_away_from_zero(), str2num(), strip_off_attributes(), tapply(), throw(), weighted_variance()

Examples

Run this code
# NOT RUN {
golden_ratio(10)
# }

Run the code above in your browser using DataLab