[R] missing value with sign observed

From: kate <yhsu6_at_uiuc.edu>
Date: Sat, 05 Apr 2008 16:06:03 -0500


Hi,

I have (x, y) data as the follows (saved in the txt file):

x y
1 8
2 5
3 3
4 +
5 -1
6 +

When I read this txt file into R and attach this data, I found the output of y is as the follows [1] 8 5 3 + -1 +
Levels: -1 + 3 5 8

Could I get rid of Levels in the output? Because I need to use the observed y and x run regression first and then assign the value to the missing y later.

Thanks,

Kate

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 05 Apr 2008 - 21:18:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 Apr 2008 - 22:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive