Package: Rage 1.7.0.9000

Rage: Life History Metrics from Matrix Population Models

Functions for calculating life history metrics using matrix population models ('MPMs'). Described in Jones et al. (2021) <doi:10.1101/2021.04.26.441330>.

Authors:Patrick Barks [aut], Danny Buss [ctb], Pol Capdevila [aut], Hal Caswell [aut], Judy P. Che-Castaldo [aut], Richard A. Hinrichsen [aut], John Jackson [aut], Tamora James [aut], Owen Jones [aut, cre], Sam Levin [aut], William K. Petry [aut], Roberto Salguero-Gomez [aut], Caroline Schuette [ctb], Iain Stott [aut], Chelsea C. Thomas [aut], Christina M. Hernández [aut], Lotte de Vries [aut], Stefano Giaimo [aut]

Rage_1.7.0.9000.tar.gz
Rage_1.7.0.9000.zip(r-4.5)Rage_1.7.0.9000.zip(r-4.4)Rage_1.7.0.9000.zip(r-4.3)
Rage_1.7.0.9000.tgz(r-4.4-any)Rage_1.7.0.9000.tgz(r-4.3-any)
Rage_1.7.0.9000.tar.gz(r-4.5-noble)Rage_1.7.0.9000.tar.gz(r-4.4-noble)
Rage_1.7.0.9000.tgz(r-4.4-emscripten)Rage_1.7.0.9000.tgz(r-4.3-emscripten)
Rage.pdf |Rage.html
Rage/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/jonesor/rage/issues

Datasets:
  • leslie_mpm1 - Example Leslie matrix population model
  • mpm1 - Example matrix population model

On CRAN:

7.90 score 10 stars 1 packages 59 scripts 775 downloads 1 mentions 60 exports 76 dependencies

Last updated 1 months agofrom:8a1b60d924. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winOKNov 09 2024
R-4.5-linuxOKNov 09 2024
R-4.4-winOKNov 09 2024
R-4.4-macOKNov 09 2024
R-4.3-winOKNov 09 2024
R-4.3-macOKNov 09 2024

Exports:entropy_dentropy_kentropy_k_ageentropy_k_stagegen_timehx_to_lxhx_to_pxis_leslie_matrixleslie_collapselife_elaslife_expect_meanlife_expect_varlongevitylx_to_hxlx_to_pxmature_agemature_distribmature_probmpm_collapsempm_rearrangempm_splitmpm_standardisempm_standardizempm_to_hxmpm_to_lxmpm_to_mxmpm_to_pxmpm_to_tablename_stagesnet_repro_rateperturb_matrixperturb_stochasticperturb_transperturb_vrplot_life_cyclepop_vectorspx_to_hxpx_to_lxqsd_convergerepro_stagesshape_repshape_survstandard_stagesvital_ratesvr_dorm_entervr_dorm_exitvr_fecundityvr_growthvr_mat_Rvr_mat_Uvr_shrinkagevr_stasisvr_survivalvr_vec_dorm_entervr_vec_dorm_exitvr_vec_growthvr_vec_reproductionvr_vec_shrinkagevr_vec_stasisvr_vec_survival

Dependencies:base64encbitbit64bslibcachemclicliprcodacolorspacecpp11crayonDiagrammeRdigestdplyrevaluateexpmfansifarverfastmapfontawesomefsgenericsgluehighrhmshtmltoolshtmlwidgetsigraphjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmcmcMCMCpackmemoisemimemunsellpillarpkgconfigpopdemoprettyunitsprogresspurrrquantregR6rappdirsRColorBrewerreadrrlangrmarkdownrstudioapisassscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevisNetworkvroomwithrxfunyaml

Age-from-stage analyses

Rendered froma04_AgeFromStage.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2023-05-23
Started: 2021-03-13

Deriving life history traits from an MPM

Rendered froma03_LifeHistoryTraits.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2024-03-30
Started: 2021-03-13

Deriving vital rates from an MPM

Rendered froma02_VitalRates.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2023-04-09
Started: 2021-02-21

Getting started with Rage

Rendered froma01_GettingStarted.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2024-03-30
Started: 2021-02-21

Suggested quality control

Rendered froma05_SuggestedQualityControl.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2023-01-17
Started: 2021-10-14

Readme and manuals

Help Manual

Help pageTopics
Calculate age-specific traits from a matrix population modelage_from_stage mpm_to_hx mpm_to_lx mpm_to_mx mpm_to_px
Calculate Demetrius' entropy from trajectories of age-specific survivorship and fecundityentropy_d
Calculate Keyfitz's entropy from a trajectory of age-specific survivorshipentropy_k
Calculate Keyfitz entropy for an age-based matrix population modelentropy_k_age
Calculate Keyfitz entropy for a stage-based matrix population modelentropy_k_stage
Calculate generation time from a matrix population modelgen_time
Determine if a matrix is a Leslie matrix population modelis_leslie_matrix
Aggregate a Leslie matrixleslie_collapse
Example Leslie matrix population model (MPM)leslie_mpm1
Calculate Keyfitz's entropy from a trajectory of age-specific survivorshiplife_elas
Calculate mean and variance of life expectancy from a matrix population modellife_expect_mean life_expect_var
Convert between age-specific survivorship, survival, or mortality hazardhx_to_lx hx_to_px lifetable_convert lx_to_hx lx_to_px px_to_hx px_to_lx
Calculate longevity from a matrix population modellongevity
Collapse a matrix population model to a smaller number of stagesmpm_collapse
Rearrange stages of a matrix population model to segregate reproductive and non-reproductive stagesmpm_rearrange
Convert matrix population model into U, F and C matricesmpm_split
Transform a matrix population model to a standardized formmpm_standardise mpm_standardize
Generate a life table from a matrix population modelmpm_to_table
Example matrix population model (MPM)mpm1
Add stage names to matricesname_stages
Calculate net reproductive rate (R0) from a matrix population modelnet_repro_rate
Perturbation analysis of a matrix population modelperturb_matrix
Calculate stochastic elasticities from a time-series of matrix population models and corresponding population vectorsperturb_stochastic
Perturbation analysis of transition types within a matrix population modelperturb_trans
Perturbation analysis of vital rates in a matrix population modelperturb_vr
Plot a life cycle diagram from a matrix population modelplot_life_cycle
Derive a hypothetical set of population vectors corresponding to a time-series of matrix population modelspop_vectors
Calculate time to reach quasi-stationary stage distributionqsd_converge
Age of reproductive maturitymature_age mature_distrib mature_prob repro_maturity
Identify which stages in a matrix population model are reproductiverepro_stages
Calculate shape of reproduction over ageshape_rep
Calculate shape of survival over ageshape_surv
Identify stages corresponding to different parts of the reproductive life cyclestandard_stages
Derive mean vital rates from a matrix population modelvital_rates
Derive mean vital rates from a matrix population modelvr vr_dorm_enter vr_dorm_exit vr_fecundity vr_growth vr_shrinkage vr_stasis vr_survival
Derive survival-independent vital rates for growth, stasis, shrinkage, and reproductionvr_mat vr_mat_R vr_mat_U
Derive stage-specific vital rates from a matrix population modelvr_vec vr_vec_dorm_enter vr_vec_dorm_exit vr_vec_growth vr_vec_reproduction vr_vec_shrinkage vr_vec_stasis vr_vec_survival