Skip to contents

Computes the Riemann zeta function \((\zeta(s))\) for argument \((z)\).

Usage

zeta(z)

Arguments

z

Real number input

Value

The value of the Riemann zeta function \((\zeta(z))\).

Examples

# Riemann Zeta Function
zeta(2)  # Should return pi^2 / 6
#> [1] 1.644934