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 Sept. 16, 2026, 5:07 p.m.