
Is the following a bug with stem() or is there something else that I am
missing? I ran stem() on the vector x below and got stem(x-10) instead of
stem(x). If I subtract 1 from x, I get a correct answer. If I add 1 to x, I
still get a wrong answer. If I add 10 to x, I get a correct answer. I'm not
sure what to make of this, other than to think it is a bug.

Can anyone tell me if this is a bug?

I am running R 1.9.1 on Windows XP (SP2).

Sincerely,
	Ramzi Nahhas

PS In your reply, please copy me at Ramzi_Nahhas@sil.org as I am not
subscribed to this list. Thank you.

> x
 [1] 30 70 90 75 70 95 75 70 60 55
> stem(x)

  The decimal point is 1 digit(s) to the right of the |

  2 | 0
  4 | 5
  6 | 000055
  8 | 05

> stem(x-1)

  The decimal point is 1 digit(s) to the right of the |

  2 | 9
  4 | 49
  6 | 99944
  8 | 94

> stem(x+1)

  The decimal point is 1 digit(s) to the right of the |

  2 | 1
  4 | 6
  6 | 111166
  8 | 16

> stem(x+10)

  The decimal point is 1 digit(s) to the right of the |

   4 | 0
   6 | 50
   8 | 00055
  10 | 05

---



 

	[[alternative HTML version deleted]]


