[rkward-users] [rkward - Help] RE: manipulating data.frame labels via script

SourceForge.net noreply at sourceforge.net
Sat Oct 6 21:13:54 UTC 2007


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4555854
By: kapatp

Hi, fsando,

Thanks for the words of encouragement!

> My question regards adding labels to a data.frame via R-script. 

I am a bit confused here! What is intended difference between "labels"
and "columnames" for a data.frame? If what you want is variable names/ column-names
then, the standard R function

colnames(ghdata) <- c("Variable1", "Variable2")

should do the job! I am sorry, if I am misunderstanding your question!

Regards
PK

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-users mailing list