Dear list,

I have a contingency table :

a <- letters[1:3]
t <- table(a)

I'm looking for a way to transform this table into data frame, as follows :

 Freq
a    1
b    1
c    1

I used :

df <- as.data.frame(t, row.names = names(t))

But, this function do not remove the duplicated column. Do you know the
solution ?

Thanks in advance,
Carlos

	[[alternative HTML version deleted]]

