You can change the column names of a data frame with
> colnames( df ) <- c( "my", "data", "frame"
)
and from here, xtable() is your friend (or at least mine...).
Rgds,
Rainer
On Thursday 22 March 2012 01:13:18 Manish Gupta wrote:> Hi,
>
> Can we change column names in latex table?
>
> Regards
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/How-to-change-colnames-in-xtable-tp4494833p44
> 94833.html Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.