Yes, it works.
Thank very much you Rui.


Franck Berthuit
France



De :    Rui Barradas <ruipbarradas@sapo.pt>
A :     Franck.BERTHUIT@maif.fr, 
Cc :    r-help@r-project.org
Date :  25/02/2013 15:10
Objet : Re: [R] Data frame as table



Hello,

If your data.frame is named 'dat', the following might be what you want.

as.table(data.matrix(dat))


Hope this helps,

Rui Barradas

Em 25-02-2013 11:35, Franck.BERTHUIT@maif.fr escreveu:
> Hello R user's,
>
> I've read a txt file with the read.table syntax. This file is already in 
a
> form of a contingency table (130 rows, 90 columns) with wich i would 
like
> to do a simple correspondance analysis with the ca() syntax.
> Are there a way to do an as.table(my data.frame) transformation ? Or are
> there some kind of read.table procedure that charge the file as table 
and
> not data.frame ?
>
> Thank you in advance.
>
>
> Franck Berthuit
> France
>                [[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.
>


	[[alternative HTML version deleted]]

