Displaying 2 results from an estimated 2 matches for "rowname3".
Did you mean:
rownames
2006 Feb 01
2
Write.table: change points to commas when object contains a row of characters
...ommas.
The object looks like this:
> jjmat
f2a1 f2b1 f5a1 f5b1 f5c1
rowname1 "coltext1" "coltext2" "coltext3" "coltext4" "coltext5"
rowname2 4,428571 4,326531 4,265306 3,959184 3,306122
rowname3 0,469665 0,3328301 0,1776079 -0,1758072 0,0870965
rowname4 4,275862 4,206897 4,137931 3,931034 3,379310
> deparse(jjmat)
[1] "structure(list(\"coltext1\", 4.42857142857143, 0.469664970752337, "
[2] " 4.27586206896552, \"coltext2\", 4.3...
2012 Oct 12
3
Columns and rows
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).
Thank you.
Cheers,
Santana
[[alternative HTML