search for: thereturn

Displaying 1 result from an estimated 1 matches for "thereturn".

Did you mean: the_return
2008 Jul 22
4
Function Error
Hi, Why this function doesn't work? function (x) { if (is.factor(x)) { if (!is.ordered(x)) { warning("La mediana non si puo' calcolare!!!") return(NA) } me <- median(unclass(x)) if (me - floor(me) != 0) { warning("Mediana indeterminata") return(NA) } else