Re: [R] Data frame as table

2013-02-25 Thread Franck . BERTHUIT
Yes, it works. Thank very much you Rui. Franck Berthuit France De :Rui Barradas A : franck.berth...@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 wha

Re: [R] Data frame as table

2013-02-25 Thread Rui Barradas
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.berth...@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

[R] Data frame as table

2013-02-25 Thread Franck . BERTHUIT
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 a