| rdca_iter | R Documentation |
Iterative implementation of the Recursive Domain-Controlled Allocation (RDCA) algorithm. Not tested.
rdca_iter(n, H_counts, N, S, rho, rho2 = NULL, ref_domain = 1L)
n |
( |
H_counts |
( |
N |
( |
S |
( |
rho |
( |
rho2 |
( |
ref_domain |
( |
H_counts <- c(2, 2, 3)
N <- c(140, 110, 135, 190, 200, 40, 70)
S <- sqrt(c(180, 20, 5, 4, 35, 9, 40))
total <- c(2, 3, 5)
kappa <- c(0.5, 0.2, 0.3)
rho <- total * sqrt(kappa)
(n <- dca_nmax(H_counts, N, S) - 1)
# experimental function (not exported) – examples skipped
## Not run:
rdca_iter(n, H_counts, N, S, rho)
# 140.0000 103.6139 132.1970 166.4127 195.9701 19.8750 70.0000
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.