Message-ID: <42942EC8.3070401@pdf.com>
Date: 2005-05-25T07:52:40Z
From: Sundar Dorai-Raj
Subject: Deleting multiple rows from a matrix
In-Reply-To: <200505250955.06050.gottfried.gruber@terminal.at>
Gottfried Gruber wrote:
> Hi,
>
> i want to delete multiple rows from a matrix. I know how to delete one by
> x=x[,-3] # deleting 3. column
>
> Is there a quick method how to delete e.g. the 3., 5., 7. and 8. column at
> once?
>
> TiA gg
>
x[, -c(3, 5, 7, 8)]
--sundar