R/sign1.R

Defines functions sign1

Documented in sign1

sign1 <-
function(x){
if (is.na(x)) return (0) 
else return (sign(x))
}

Try the rkt package in your browser

Any scripts or data that you put into this service are public.

rkt documentation built on March 29, 2021, 5:11 p.m.