Hi R users,

I have following data frame

df<-data.frame(q1=c(0,0,33.33,"check"),q2=c(0,33.33,"check",9.156),
q3=c("check","check",25,100),q4=c(7.123,35,100,"check"))

and i would like to replace every element that is less then 10 with . (dot)
in order to obtain this:

     q1    q2    q3    q4
1     .     . check     .
2     . 33.33 check    35
3 33.33 check    25   100
4 check     .   100 check

I had a lot of difficulties because each variable is factor.
Could someone help me with this?

Thanks in advance for any help.

Andrija

	[[alternative HTML version deleted]]

