Description Usage Arguments Examples
Return a pooling groups object where one site is removed. The selected site is the one that best improve the homogeneity score. The function 'Poolremove.auto' proceed step-by-step and remove sites until the heterogeous criteria or a stopping rule is met.
1 2 | PoolRemove(obj, id = NULL, method = "H1", nsim = 1000,
distr.fix = TRUE)
|
obj |
A pooling group object. |
method |
Which homogeneity statistics used in the procedure. Choices : 'H1', 'H2', 'H3'. |
nsim |
Number of simulation used to evaluate the homogenous criteria |
distr.fix |
Logical, should the selection of the distribution be reevaluated after removing the site. |
1 2 3 4 5 6 7 8 9 10 | isite <- Intersite(ams ~ id + year, flowAtlantic$ams,
distance = flowAtlantic$distance,
smooth = TRUE)
fit <- PoolGroup(isite, distance = 2, nk = 30)
## remove the site no. 1, see fit$id for a list of the available site
PoolRemove(fit, id = 1)$stat[1:3]
PoolRemove.auto(fit, tol = 1.5)$stat[1:3]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.