[R] Problems with table
Patricia Maforte dos Santos
pms at cin.ufpe.br
Mon Feb 3 17:26:02 CET 2003
Hi,
I'm having difficulties in the manipulation of the function table.
Necessary to have access its elements and I am not obtaining. For example,
if I have a data.frame with name "df" and make:
t < - data.frame(table(df))
and later trying to make a comparison of the type t[1,1 ] < 0.1, generates
an error of the type:
[1] NA
Warning message:
"<" not meaningful for factors in: Ops.factor(t[1, 1], 0.1)
How can I resolve this?
Thanks,
----------------------------------
Patrícia Maforte dos Santos
Centro de Informatica
Universidade Federal de Pernambuco
Recife/PE - Brasil
----------------------------------
More information about the R-help
mailing list