Re: [R] Remove a complete row as per the Range in a Matrix

2012-07-31 Thread David Winsemius
On Jul 31, 2012, at 1:31 AM, Rui Barradas wrote: Hello, Please learn how to use dput(), it's not your first post. And try the following. myMatrix <- data.matrix(read.table(text=" I think the data.matrix transformation is a bad idea. It forces the numeric values to be character and the co

Re: [R] Remove a complete row as per the Range in a Matrix

2012-07-31 Thread arun
y To: r-help@r-project.org Cc: Sent: Tuesday, July 31, 2012 3:58 AM Subject: [R] Remove a complete row as per the Range in a Matrix Hi, Here i have a Matrix MyMatrix <- Name            Age -          --- ANTONY        27 IMRAN          30 RAJ                  22 NAHAS       

Re: [R] Remove a complete row as per the Range in a Matrix

2012-07-31 Thread Rui Barradas
Hello, Please learn how to use dput(), it's not your first post. And try the following. myMatrix <- data.matrix(read.table(text=" NameAge ANTONY27 IMRAN 30 RAJ 22 NAHAS 32 GEO 42 ", header=TRUE)) MinMaxArray <- data.fra

[R] Remove a complete row as per the Range in a Matrix

2012-07-31 Thread Rantony
Hi, Here i have a Matrix MyMatrix <- NameAge - --- ANTONY27 IMRAN 30 RAJ 22 NAHAS 32 GEO 42 and here i have an array with Minimum and Maximum values. MinMaxArray <- data.frame(MIN = 25,MAX=35) MIN