title: cramersV function not 1 for the same variable
body: <p>I am calculating the correlation matrix of two discrete variables with the cramersV function in Rstudio. When I enter in the input of the function a dataset with 2 columns containing the same values (i.e. representing the same variable), the output is not 1 but 0.999. How is it possible ? Such variable contains 2 possible character values, &quot;1&quot; and &quot;2&quot;.</p>
  <p>I am running</p>
  <pre><code>cramersV(x,x)
  </code></pre>
  <p>where x is a vector of 3451 character values (&quot;1&quot; or &quot;2&quot;)</p>
  <pre><code>head(x)
  [1] &quot;2&quot; &quot;2&quot; &quot;2&quot; &quot;1&quot; &quot;2&quot; &quot;2&quot;
  </code></pre>
  <p>The output is</p>
  <pre><code>  [1] 0.9991948
  </code></pre>