Skip to content
Back to formatted view

Raw Message

Message-ID: <200503251035.37640.lami@faunalia.it>
Date: 2005-03-25T09:35:37Z
From: Leonardo Lami
Subject: tapply and NA value

Hi,
I'm writing for a little help.
I have a dataframe with same NA value and I'd like to obtain the means of the 
value of a coloumn grouped by the levels of a factor coloumn of the datframe.
I'm using the function "tapply" but I see that if only a NA value is present 
the result is NA.
There is an option to have the correct result or I must use an other function?

Thanks of all
Leonardo
-- 
Leonardo Lami
lami at faunalia.it            www.faunalia.it
Via Colombo 3 - 51010 Massa e Cozzile (PT), Italy   Tel: (+39)349-1310164
GPG key @: hkp://wwwkeys.pgp.net http://www.pgp.net/wwwkeys.html
https://www.biglumber.com