[R] Error in `contrasts-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :

2013-04-27 Thread sgs sys
i am getting the following error Error in `contrasts-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels can any on e suggest how torectify [[alternative HTML version deleted]]

Re: [R] Error in `contrasts-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :

2013-04-27 Thread William Dunlap
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of sgs sys Sent: Saturday, April 27, 2013 7:59 AM To: r-help@r-project.org Subject: [R] Error in `contrasts-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : i am getting the following error Error in `contrasts-`(`*tmp*`, value