PoolRemove: Remove heterogenous sites from pooling groups

Description Usage Arguments Examples

Description

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.

Usage

1
2
PoolRemove(obj, id = NULL, method = "H1", nsim = 1000,
  distr.fix = TRUE)

Arguments

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.

Examples

 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]

martindurocher/floodStat documentation built on May 31, 2019, 12:42 a.m.