Skip to content
Prev 350539 / 398503 Next

Stacking of vectors to form a column vector

... and if this is what is wanted, somewhat cleaner and more
generalizable for programming would be:

do.call(c, mydata[,1:3])

## where the column indices might have to be adjusted to get the
desired columns.

Cheers,

Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Wed, Apr 29, 2015 at 11:51 PM, Jim Lemon <drjimlemon at gmail.com> wrote: