wilmoth_control: Auxiliary for Controlling 'wilmoth' Fitting.

Description Usage Arguments Value See Also

View source: R/fun_Wilmoth.R

Description

Auxiliary for Controlling wilmoth Fitting.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
wilmoth_control(
  c = 6,
  intercept = TRUE,
  tol.biweight = 1e-06,
  tol.lsfit = 1e-07,
  radix = 1e+05,
  k.int = c(-25, 20),
  nu = 1,
  nv = 1
)

Arguments

c

Tuning constant when compute weighted least squared using Tukey's biweight function. Typically, between 6 to 9.

intercept

logical. Whether or not an intercept term should be used in least squares estimation. See lsfit.

tol.biweight

Tolerance for convergence of the biweight fit

tol.lsfit

Tolerance to be used in the matrix decomposition in least squares estimation. See lsfit.

radix

Life table radix. Default: 10^5;

k.int

a vector containing the end-points of the interval to be searched for k parameter.

nu

The number of left singular vectors to be computed in SVD method. This must between 0 and n = nrow(x). See svd.

nv

the number of right singular vectors to be computed. This must be between 0 and p = ncol(x). See svd.

Value

List with control parameters.

See Also

wilmoth


mpascariu/MortalityEstimate documentation built on May 11, 2021, 6:33 p.m.