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

Examples

golden_ratio(10)

fritools documentation built on Nov. 19, 2023, 1:06 a.m.