Package: vitality 1.3

David J. Sharrow

vitality: Fitting Routines for the Vitality Family of Mortality Models

Provides fitting routines for four versions of the Vitality family of mortality models.

Authors:Gregor Passolt, James J. Anderson, Ting Li, David H. Salinger, David J. Sharrow

vitality_1.3.tar.gz
vitality_1.3.tar.gz(r-4.5-noble)vitality_1.3.tar.gz(r-4.4-noble)
vitality_1.3.tgz(r-4.4-emscripten)vitality_1.3.tgz(r-4.3-emscripten)
vitality.pdf |vitality.html
vitality/json (API)

# Install 'vitality' in R:
install.packages('vitality', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 5 scripts 145 downloads 23 exports 0 dependencies

Last updated 7 years agofrom:e4ab8e6ce8. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 19 2024
R-4.5-linuxOKDec 19 2024

Exports:dataPrepmu.vd.4pmu.vd.6pmu.vd1.4pmu.vd1.6pmu.vd2.4pmu.vd2.6pmu.vd3.6pmu.vd4.6pplotting.4pplotting.6pSurvFn.4pSurvFn.6pSurvFn.ex.4pSurvFn.ex.6pSurvFn.in.4pSurvFn.in.6pSurvFn.kSurvFn.kuvitality.4pvitality.6pvitality.kvitality.ku

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Sample Daphnia Datadaphnia
Function for data preparationdataPrep
Density function for 3-parameter (r, s, u)ft.4p
Density function for 2-parameters (r, s)ft.6p
Finds the first value of a vector that is less than a value.indexFinder
Log likelihood of 2-process 4-parameter modellogLikelihood.4p
Log likelihood of 2-process 6-parameter vitality modellogLikelihood.6p
Log likelihood of 3-parameter (r,s,k) modellogLikelihood.k
Log likelihood of 4-parameter (r,s,k,u) modellogLikelihood.ku
Total mortality rate for the 2-process 4-parameter vitality modelmu.vd.4p
Total mortality rate for the 2-process 6-parameter vitality modelmu.vd.6p
Intrinsic mortality rate for the 2-process 4-parameter vitality modelmu.vd1.4p
Intrinsic mortality rate for the 2-process 6-parameter vitality modelmu.vd1.6p
Extrinsic mortality rate for the 2-process 4-parameter vitality modelmu.vd2.4p
Extrinsic mortality rate for the 2-process 6-parameter vitality modelmu.vd2.6p
Adult extrinsic mortality rate for the 2-process 6-parameter vitality modelmu.vd3.6p
Childhood extrinsic mortality rate for the 2-process 6-parameter vitality modelmu.vd4.6p
Plotting function for 2-process 4-parameter vitality modelplotting.4p
Plotting function for 2-process 6-parameter vitality modelplotting.6p
Plotting function for 3-parameter vitality modelplotting.k
Plotting function for 4-parameter vitality modelplotting.ku
Sample Rainbow Trout Datarainbow_trout_for_k
Standard errors for 4-parameters: r, s, lambda, betastdErr.4p
Standard errors for 6-parameters: r, s, lambda, beta, gamma, alphastdErr.6p
Standard errors for 3-parameters: r, s, kstdErr.k
Standard errors for 4-parameters: r, s, k, ustdErr.ku
The cumulative survival distribution function for 2-process 4-parameter vitality modelSurvFn.4p
The cumulative survival distribution function for 2-process 6-parameter vitality modelSurvFn.6p
The extrinsic cumulative survival distribution function for 2-process 4-parameter vitality modelSurvFn.ex.4p
The extrinsic cumulative survival distribution function for 2-process 6-parameter vitality modelSurvFn.ex.6p
Intrinsic cumulative survival distribution for 4 parameter modelSurvFn.h.4p
Intrinsic cumulative survival distribution for 6 parameter modelSurvFn.h.6p
The intrinsic cumulative survival distribution function for 2-process 4-parameter vitality modelSurvFn.in.4p
The intrinsic cumulative survival distribution function for 2-process 6-parameter vitality modelSurvFn.in.6p
The cumulative survival distribution function for 3-parameter vitality modelSurvFn.k
The cumulative survival distribution function for 4-parameter vitality modelSurvFn.ku
Incremental survival probability for 2-process 4-parameter modelsurvProbInc.4p
Incremental survival probability for 2-process 6-parameter modelsurvProbInc.6p
Incremental survival probability for 3-parameter modelsurvProbInc.k
Incremental survival probability for 4-parameter modelsurvProbInc.ku
Swedish Female Mortality Dataswedish_females
Vectorized density functionvft.4p
Vectorized density functionvft.6p
Fitting routines for the Vitality family of mortality models.vitality-package vitality
Fitting routine for the 2-process, 4-parameter vitality model (no childhood hook).vitality.4p
Fitting routine for the 2-process, 6-parameter vitality model (with childhood hook).vitality.6p
Fitting routine for the 3-parameter vitality model.vitality.k
Fitting routine for the 4-parameter vitality model.vitality.ku