I don't understand what you mean by a header line but does this do the other
two for you?
mydata <- data.frame( 1:5, 21: 25)
mydata
names(mydata) <- c("alph", "louie")
rownames (mydata) <- letters[1:5]
mydata
John Kane
Kingston ON Canada
> -----Original Message-----
> From: kokila.krishnan at quantilez.com
> Sent: Thu, 8 Nov 2012 02:18:22 -0800 (PST)
> To: r-help at r-project.org
> Subject: [R] Dataframe,Matrix,Table
>
> Hi for all...............
>
> I am having one Dataset. Mode of the dataset is dataframe. I need to add
> headerline,row and column line.
> How to do this...Help me to do this....
>
> Thanks
> Kokila
>
>
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Dataframe-Matrix-Table-tp4648843.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.
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your
desktop!