colnames(xx) <- c('men', 'womem', 'total')

On 4/7/08, filip rendel <[EMAIL PROTECTED]> wrote:
>
> Hello there! I have a really basic question. I have extracted some data from 
> a big database. I have ordered the data in to different agegroups in the 
> rows. Now I want to to have labels of the columns which is going to be 
> divided into men , women and totals. How do I give names to a column? My data 
> looks like this for the moment;
>
> 0-39      12     34    43
> 40-49    14     23    23
> 50-59    16     37    21
> 60-69    75     32    41
> etc        12    43    23
>
> where the first column is the different agegroups.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

______________________________________________
R-help@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.

Reply via email to