[R] How to remove the double or single quote from a string (unquote?)?

2011-04-18 Thread JingJiang Yan
Is there a function to get a string without a pair of quotes around it? I have several expressions like: glm(V12 ~ V3, family=binomial, data=df1) glm(V12 ~ V4, family=binomial, data=df1) ... glm(V12 ~ V8, family=binomial, data=df1) As you can see, the only differences among them are V3 ... V8. B

[R] Is there any function can be used to compare two probit models made from same data?

2009-01-22 Thread jingjiang yan
hi, people How can we compare two probit models brought out from the same data? Let me use the example used in "An Introduction to R". "Consider a small, artificial example, from Silvey (1970). On the Aegean island of Kalythos the male inhabitants suffer from a congenital eye disease,