custom_sign: Sign of each value within a vector

View source: R/modelHM_plot.R

custom_signR Documentation

Sign of each value within a vector

Description

Returns the sign of each value within a vector. If 0, returns 1 or -1 with equal probability

Usage

custom_sign(x)

Arguments

x

vector of numerical values


pledenmat/myPackage documentation built on July 25, 2022, 3:50 p.m.