chiKappa | R Documentation |
Computes the kappa (degrees of freedom) required to obtain a given centrality quotient using the chi-square pooled p-value.
chiKappa(
cq,
M,
alpha = 0.05,
interval = c(0, 100),
tol = .Machine$double.eps^0.5
)
cq |
numeric between 0 and 1 |
M |
integer sample size greater than 0 |
alpha |
numeric between 0 and 1 |
interval |
numeric of length 2, where should roots be sought? |
tol |
numeric, how close do values need to be for equality? |
This function is essentially a wrapper for uniroot which finds where chiCentQuot gives an output equal to the given centrality quotient to provide an approximate kappa giving that quotient.
A numeric within interval.
Chris Salahub
chiKappa(0.5, 10, 0.05)
chiKappa(0.5, 20, 0.05)
chiKappa(0.5, 100, 0.05, interval = c(0, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.