ugh x has mode numeric again, its new class,
>'factor', inhibits it being used in arithmetic operations.
>
>In practice, mode is not used very much, other than to define a class
>implicitly when no explicit class has been assigned.
>
>-Original Message-
&g
e, even though x has mode numeric again, its new class,
'factor', inhibits it being used in arithmetic operations.
In practice, mode is not used very much, other than to define a class
implicitly when no explicit class has been assigned.
-Original Message-
From: [EMAIL PROTECTED]
Hi R,
Just came across the 'mode' of an object. What is the basic difference
between ?class and ?mode...For example:
d=data.frame(a=c(1,2),b=c(5,6))
class(d)
[1] "data.frame"
mode(d)
[1] "list"
But,
c=c(2,3,5,6,7)
class(c)
[1] "numeric"
mode(c)
[1] "numeric"
Could anyone
3 matches
Mail list logo