Skip to content
Prev 350541 / 398503 Next

Stacking of vectors to form a column vector

Thank you. your suggestions all worked.
Best Regards?
On Thursday, 30 April 2015, 11:52, Bert Gunter <gunter.berton at gene.com> wrote:
... 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:
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.