Re: [R] Apply vector of labels to columns of data frame

2007-10-05 Thread Steve Powell
čevićeva 35, 71000 Sarajevo mobile: +387 61 215 997 | office: +387 33 556 865 | fax: +387 33 556 866 skype: stevepowell99 www.promente.org -Original Message- From: Patrick Burns [mailto:[EMAIL PROTECTED] Sent: 05 October 2007 11:50 To: Steve Powell Subject: Re: [R] Apply vector o

[R] Apply vector of labels to columns of data frame

2007-10-05 Thread Steve Powell
Dear list members I would like to apply a vector of labels v=c("lab1","lab2","lab3") to a dataframe df=data.frame(1:3,1:3,1:3) using some kind of loop or apply function. Any ideas? Thanks Steve Powell Checked by AVG Free Edition. 17:03 [[alternative HTML version deleted]] _