search for: dropna

Displaying 4 results from an estimated 4 matches for "dropna".

2007 Feb 09
3
How to count the number of NAs in each column of a df?
I would like to remove columns of a df which have too many NAs. I think that summary() should give me the information, I just don't know how to access it. Advice? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road
2012 May 20
5
removeing only rows/columns with "na" value from square ( symmetrical ) matrix.
I have some square matrices with na values in corresponding rows and columns. M<-matrix(1:2,10,10) M[6,1:2]<-NA M[10,9]<-NA M<-as.matrix(as.dist(M)) print (M) 1 2 3 4 5 6 7 8 9 10 1 0 2 1 2 1 NA 1 2 1 2 2 2 0 1 2 1 NA 1 2 1 2 3 1 1 0 2 1 2 1 2 1 2 4 2 2 2 0 1 2 1 2 1 2 5 1 1 1 1 0 2 1 2 1 2 6 NA NA 2 2 2 0 1 2 1 2 7 1 1 1 1 1 1 0 2 1 2 8
2006 Aug 10
0
New upload of connectedness
Hello! I have uploaded update (0.2-1) for connectedness. NEWS? o NA's in either x or y are not removed by default, but only when drop=TRUE. Subset method gains dropNA=NULL argument due to this. Now subset arguments are properly placed after '...'. 2006-08-08 o Added unit tests. 2006-08-08 o Removed connectedness.package.Rd as it is not really needed here. 2006-08-08 o LGPL -> GPL. 2006-06-17 o Removed dependency on package RColorBrewer since t...
2006 Aug 10
0
New upload of connectedness
Hello! I have uploaded update (0.2-1) for connectedness. NEWS? o NA's in either x or y are not removed by default, but only when drop=TRUE. Subset method gains dropNA=NULL argument due to this. Now subset arguments are properly placed after '...'. 2006-08-08 o Added unit tests. 2006-08-08 o Removed connectedness.package.Rd as it is not really needed here. 2006-08-08 o LGPL -> GPL. 2006-06-17 o Removed dependency on package RColorBrewer since t...