Displaying 2 results from an estimated 2 matches for "oroscopo".
2008 Jul 08
6
Question: Beginner stuck in a R cycle
...ble to compute the average of all 200 observations which is then written in every cell.
I understand 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