Displaying 2 results from an estimated 2 matches for "latuapagina".
2008 Jul 08
6
Question: Beginner stuck in a R cycle
...nderstand that a condition is missing, that indicates that the average has to be computed amongst the observations showing the same codes values.
Could you please help me ?
D.
Posta, news, sport, oroscopo: tutto in una sola pagina.
Crea l'home page che piace a te!
www.yahoo.it/latuapagina
[[alternative HTML version deleted]]
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