sgn: Sign function

Description Usage Arguments Value Examples

View source: R/utilities-noise-generation.R

Description

Function to determine what the sign of the passed values should be.

Usage

1
sgn(x)

Arguments

x

numeric, value or vector or values

Value

The sign of passed values

Examples

1
sgn(rnorm(10))

IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.