Skip to content
Prev 78133 / 398502 Next

reshaping data?

Karin Lagesen wrote:
If you have a file named KL.dat with the above data in it:

KL.df<-read.table("KL.dat",header=FALSE)
KL.mat<-as.matrix(table(KL.df))

Jim