Hello, I'm new to R and statistics in general. I am trying to create a Regression Chart between two variables those being Reliten (Religious Affiliation) and Cappun ( Favoring or Opposing Capital Punishment on Murders) both of which are found in the GSS dataset.
I have my lm and my summarylm
summary(lm(reliten_numeric ~ cappun_numeric, data=gss))
lm(gss$reliten_numeric ~ gss$cappun_numeric)
but my scatterplot
scatterplot(reliten_numeric ~ cappun_numeric, data=gss)
comes up with this error:
pseudoinverse used at 0.995
neighborhood radius 1.005
reciprocal condition number 1.4841e-15
There are other near singularities as well. 1.01
pseudoinverse used at 0.995
neighborhood radius 1.005
reciprocal condition number 0
There are other near singularities as well. 1.01
pseudoinverse used at 0.995
neighborhood radius 1.005
reciprocal condition number 0
There are other near singularities as well. 1.01
pseudoinverse used at 0.995
neighborhood radius 1.005
reciprocal condition number 6.2844e-16
There are other near singularities as well. 1.01
pseudoinverse used at 0.995
neighborhood radius 1.005
reciprocal condition number 1.4841e-15
There are other near singularities as well. 1.01
How do I fix this or create a usable chart?