Thanks David and Patrick,
I need to use two statements for the if condition specified. Since the
first statement feeds into the second, the ifelse function may just work
for the dataset. I'm not sure if there will be issues later but I've
tested it and it works.
x <- as.matrix(read.table("te
See below:
On Dec 26, 2009, at 12:58 PM, Muhammad Rahiz wrote:
Hi all,
I'm not getting the right results for values that are >99 using the
if else function. The following illustrates the problem
> x <- as.matrix(read.table("test.txt"))
> x
V1 V2 V3
[1,] 47 1 43
[2,] 83 2 42
[3,]
Hi all,
I'm not getting the right results for values that are >99 using the if
else function. The following illustrates the problem
> x <- as.matrix(read.table("test.txt"))
> x
V1 V2 V3
[1,] 47 1 43
[2,] 83 2 42
[3,] 1 3 41
[4,] 39 4 40
[5,] 23 5 39
[6,] 23 6 38
[7,] 39 7
3 matches
Mail list logo