Hi,

Do you know how to assign colnames from one list to another, for example.
a=c(1,2,3)
b=c("A","B","C")

how can I get the dataset

A B C
1  2 3

where A, B and C are colnames. Thanks.

Xumin

        [[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.

Reply via email to