s-news
[Top] [All Lists]

rbind with a NULL data.frame

To: "S-News (E-mail)" <s-news@wubios.wustl.edu>
Subject: rbind with a NULL data.frame
From: "Wright, Kevin" <WRIGHTKEVI@phibred.com>
Date: Thu, 15 Feb 2001 14:54:53 -0600
I'm interested in using rbind inside a loop (I know, poor programming....)
and would like to somehow intialize a data.frame to which I can rbind a row
every iteration.

This works with matrices, for example:

A_NULL
rbind(A, 1:5)

I cannot make it work with data.frame

Any suggestions will be appreciated.

I will summarize any useful responses which are not already posted to
S-news.

Thanks,

Kevin Wright, Research Scientist
Pioneer Hi-Bred Int'l, x4054.



<Prev in Thread] Current Thread [Next in Thread>
  • rbind with a NULL data.frame, Wright, Kevin <=