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 May 29, 2024, 7:31 a.m.