On Oct 11, 2012, at 5:55 PM, Santana Sarma wrote:

> Hi,
> 
> Could you please advice some easy way to do the following for a dataframe
> (header=F) having unequal column- & row- length.
> 
> 1. Combine/stack/join contents from -
>              a) multiple rows into one column.
>              b) multiple columns into one row.
> 
> 2. Stack contents from multiple columns (or, rows) into one column (or,
> row).

Could _you_ please produce an example.

Dataframes do not have headers. They do have column names and column names are 
required.

-- 
David Winsemius, MD
Alameda, CA, USA

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to