Skip to content
Prev 32347 / 398513 Next

moving onto returning a data.frame?

On Tue, 20 May 2003, Jeff D. Hamann wrote:
read.dta in the foreign package springs to mind since I updated it
yesterday.  There are probably many others.
You are creating a vector of p reals here, not a data frame. If you know
the input and output have the same sizes and types it might be easiest to
use
    m_out = duplicate(m_in)
though this is not maximally efficient.
-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle