Learn R Programming

psycho (version 0.6.2)

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
library(psycho)

golden()
golden(8)

Run the code above in your browser using DataLab