I am using the prop.test function in R to test the differences of proportions against the alternative that the difference of the two proportions are significantly different from zero, however I wish to perform the same test, but instead of testing if they are significantly different from zero I want to test if they are different from some constant (lets say C) where more often then not C is not equal to 0.
Does anyone know of a function in R to do this?
Rcode. That's why @Silverfish requested a clarification. $\endgroup$