golden_ratio: Calculate the Golden Ratio

View source: R/golden_ratio.R

golden_ratioR Documentation

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(), pause(), r_cmd_install(), rownames2col(), str2num(), string2words(), strip_off_attributes(), tapply(), throw()

Examples

golden_ratio(10)

fritools documentation built on June 8, 2025, 11:59 a.m.