[R] Creating a text codebook
John Fox
jfox at mcmaster.ca
Thu Sep 30 20:35:03 CEST 2004
Dear Harold,
I'm not sure what you have in mind, but take a look at the prompt()
function, which can create a skeleton .Rd (R documentation) for a data
frame. It will distinguish between numeric variables and factors, and will
show the various levels of each factor. I don't think that there's any other
"relevant information" in the data frame.
I hope that this helps,
John
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Doran, Harold
> Sent: Thursday, September 30, 2004 11:39 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Creating a text codebook
>
> Is there a currently existing method in an R package for
> creating a codebook from a dataframe? Preferably, I would
> like to be able to export to a text file all relevant information.
>
More information about the R-help
mailing list