A general solution if you always want 2 columns and the pattern is
always every other column (but the number of total columns could
change) would be:
cbind( c(Dat[,c(TRUE,FALSE)]), c(Dat[,c(FALSE,TRUE)]) )
On Sat, Mar 3, 2012 at 11:40 AM, David Winsemius wrote:
>
> On Mar 3, 2012, at 11:02 AM
ThanksĀ David for your reply. And regarding the plain-text sending, I
thought it was enabled in my Outlook. However recently I formatted and
reinstalled everything therefore that option was not corrected which
now I have corrected.
Thanks,
On Sun, Mar 4, 2012 at 12:25 AM, David Winsemius wrote:
>
On Mar 3, 2012, at 11:02 AM, Bogaso Christofer wrote:
Hi all, let say I have following matrix:
Dat <- matrix(1:30, 5, 6); colnames(Dat) <- rep(c("Name1",
"Names2"), 3)
Dat
Name1 Names2 Name1 Names2 Name1 Names2
[1,] 1 611 1621 26
[2,] 2 712
Hi all, let say I have following matrix:
> Dat <- matrix(1:30, 5, 6); colnames(Dat) <- rep(c("Name1", "Names2"), 3)
> Dat
Name1 Names2 Name1 Names2 Name1 Names2
[1,] 1 611 1621 26
[2,] 2 712 1722 27
[3,] 3 813 1823
4 matches
Mail list logo