[R] matrix manipulation question
peter dalgaard
pdalgd at gmail.com
Fri Mar 27 10:38:26 CET 2015
On 27 Mar 2015, at 09:58 , Stéphane Adamowicz <stephane.adamowicz at avignon.inra.fr> wrote:
> data_no_NA <- data[, complete.cases(t(data))==T]
Ouch! logical == TRUE is bad, logical == T is worse:
data[, complete.cases(t(data))]
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list