Hi Olivier,
How about this?

# some data
x <- rpois(100,5)

# the table
table(x)

# converting the table
as.data.frame.table(table(x))

HTH,

Jorge


On Mon, Aug 3, 2009 at 10:35 AM, Olivier Peron <olivier.pe...@univ-pau.fr>wrote:

> Hello
>
> How to pass from table to data-frame ?
>
> Thanks
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to