Skip to content

Labelling all variables at once (using Hmisc label)

4 messages · Monsieur Do, Frank E Harrell Jr, David Winsemius +1 more

#
I'm puzzled.  I provided a solution that did not require looping.
Frank
Monsieur Do wrote:
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Labelling-all-variables-at-once-using-Hmisc-label-tp3745660p3751273.html
Sent from the R help mailing list archive at Nabble.com.
#
On Aug 17, 2011, at 5:49 PM, Frank Harrell wrote:

            
Hi Frank;

Do you realize that some portions of your Nabble postings are not  
being communicated to the ordinary mail-clients? This code did not  
appear in my copy from Nabble. I didn't cut anything. This appears in  
Nabble when you look there:

 > d <- data.frame(a=1:2,b=3:4)
 > label(d, self=FALSE) <- c('A','B')
 > contents(d)
Data frame:d	2 observations and 2 variables Maximum # NAs:0 Labels  
Storage a A integer
b B integer



I observed and noted that was happening in a prior message. The  
missing formatted Nabble studd also comes across without linefeeds  
when pasted, so I added some of those back in.
#
Hi Frank, it's true to one of your reply to my previous post, can only be seen in Nabble.



----- Original Message -----
From: David Winsemius <dwinsemius at comcast.net>
To: Frank Harrell <f.harrell at vanderbilt.edu>
Cc: r-help at r-project.org
Sent: Wednesday, August 17, 2011 3:08 PM
Subject: Re: [R] Labelling all variables at once (using Hmisc label)
On Aug 17, 2011, at 5:49 PM, Frank Harrell wrote:

            
Hi Frank;

Do you realize that some portions of your Nabble postings are not being communicated to the ordinary mail-clients? This code did not appear in my copy from Nabble. I didn't cut anything. This appears in Nabble when you look there:
Data frame:d??? 2 observations and 2 variables Maximum # NAs:0 Labels Storage a A integer
b B integer



I observed and noted that was happening in a prior message. The missing formatted Nabble studd also comes across without linefeeds when pasted, so I added some of those back in.

--David.
David Winsemius, MD
West Hartford, CT

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