Something like summary() will produce the start of a codebook for a dataset within a data.frame, but it probably would need to be munged up a bit more.
Actually, the first use of literate statistical analysis (noweb-style) was done to produce a codebook. On Thu, 30 Sep 2004 14:35:03 -0400, John Fox <[EMAIL PROTECTED]> wrote: > 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: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Doran, Harold > > Sent: Thursday, September 30, 2004 11:39 AM > > To: [EMAIL PROTECTED] > > 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. > > > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- A.J. Rossini [EMAIL PROTECTED] ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html