Skip to content
Prev 67291 / 398502 Next

NA in table with integer types

On 8 Apr 2005 at 14:20, Prof Brian Ripley wrote:

            
Hi

Use exclude in factor not in table
x
1 2 3 
5 2 1
[1] 1    1    2    3    <NA> <NA> 1    1    2    1   
Levels: 1 2 3
y
1 2 3 
5 2 1
[1] 1    1    2    3    <NA> <NA> 1    1    2    1   
Levels: 1 2 3 NA
y
   1    2    3 <NA> 
   5    2    1    2
Petr Pikal
petr.pikal at precheza.cz