Auxiliary function for ib bias correction.
     
    ibControl(
  tol = 1e-05,
  maxit = 25,
  verbose = FALSE,
  seed = 123L,
  H = 1L,
  constraint = TRUE,
  cens = FALSE,
  right = NULL,
  left = NULL,
  mis = FALSE,
  prop = NULL,
  out = FALSE,
  eps = NULL,
  G = NULL,
  func = function(x) rowMeans(x, na.rm = T),
  sim = NULL
)
    Arguments
    
    
    
      | tol | positive convergence tolerance \(\epsilon\).
The ibprocedure converges when
\(||\hat{\theta}^{k+1}-\hat{\theta}^k||_2/p<\epsilon\),
where \(p\) is the dimension of \(\theta\). | 
    
      | maxit | integerrepresenting the maximal number of iterations.
 | 
    
      | verbose | if TRUE, it prints some output in the console
at each iteration. | 
    
      | seed | integerto set the seed (seeRandom).
 | 
    
      | H | integerrepresenting the number of bootstrap estimates
(seeib).
 | 
    
      | constraint | if TRUE(default), constraint forextra_paramis used in the iterative procedure (see 'Details' ofib). | 
    
      | cens | if TRUEthe simulated responses are censored according toleftandrightvalues. | 
    
      | right | doublefor right-censoring (only used ifcens=TRUE).
 | 
    
      | left | doublefor left-censoring (only used ifcens=TRUE).
 | 
    
      | mis | if TRUEthe simulated responses have missing data at random. | 
    
      | prop | doublebetween 0 and 1 representing the proportion of
missing data (only used ifmis=TRUE).
 | 
    
      | out | if TRUEthe simulated responses are also generated with a
contamination mechanism. | 
    
      | eps | doublebetween 0 and 1 representing the proportion of
outliers in the data (only used ifout=TRUE).
 | 
    
      | G | a functionto generate outliers. It takes only
a sample size as argument. | 
    
      | func | a functionto reduce theHbootstrap estimates (rowwise).
By default, the average is computed. The user can supply a function.
One could imagine using other function such as the median or a trimmed mean. | 
    
      | sim | a user-defined function for simulating responses (see 'Details') | 
    
    Value
    a list with components named as the arguments.
    Details
    sim allows the user to provide its own function for generating
responses. Currently it is only supported for generalized linear models with
the prototype `fun(object, control, extra_param, ...)` (see ib).
    See also
    ib, the iterative procedure for bias correction.