Re: [R] latex.table for table with character and numeric columns

2009-12-07 Thread Gerrit Draisma
Ha Charlie, It helped. It is just what i was looking for. Gerrit. Gerrit Draisma wrote: Hallo, I have a dataset with one or two columns with character data and the rest with numeric data. Using latex.table from the quantreg package produced a table, but I cannot set the decimals. For instance:

Re: [R] latex.table for table with character and numeric columns

2009-12-04 Thread Sharpie
Gerrit Draisma wrote: > > Hallo, > I have a dataset with one or two columns with character data > and the rest with numeric data. > Using latex.table from the quantreg package produced a table, > but I cannot set the decimals. > For instance: > --- > > x<-data.frame(Name=c("Jan","Piet","Jan"),

[R] latex.table for table with character and numeric columns

2009-12-04 Thread Gerrit Draisma
Hallo, I have a dataset with one or two columns with character data and the rest with numeric data. Using latex.table from the quantreg package produced a table, but I cannot set the decimals. For instance: --- > x<-data.frame(Name=c("Jan","Piet","Jan"), V=c(1,2.991,3)) > latex.table(as.matrix(x),