psycho (version 0.5.0)

golden: Golden Ratio.

Description

Returns the golden ratio (1.618034...).

Usage

golden(x = 1)

Arguments

x

A number to be multiplied by the golden ratio. The default (x=1) returns the value of the golden ratio.

Examples

Run this code
# NOT RUN {
library(psycho)

golden()
golden(8)
# }

Run the code above in your browser using DataLab