[R] Unable to mark labels

2009-04-13 Thread Rajat
I am solving the following question. I want to label the data. I used the following code. data82 - read.table(file=/home/rajat/R/8_2_rtg.txt,header=T) data82 - data.frame(data82) data82 low_sat med_sat high_sat contact housing 1 65 54 100 1 1 2 130 76

[R] Unable to mark labels

2009-04-13 Thread Jorge Ivan Velez
Dear Rajat, Just change this data82$contact - factor(contact,labels=c(low,high)) for this data82$contact - factor(data82$contact,labels=c(low,high)) HTH, Jorge On Mon, Apr 13, 2009 at 12:24 PM, Rajat razz...@gmail.com wrote: I am solving the following question. I want to label the data.