{
  "_id": "6a1269f8acfb0bcc41d0916f",
  "Package": "mpmaggregate",
  "Type": "Package",
  "Title": "Aggregate Matrix Population Models",
  "Version": "0.2.6",
  "Date": "2026-05-23",
  "Author": "Richard A. Hinrichsen [aut, cre]\n(<https://orcid.org/0000-0003-0761-3005>), Roberto\nSalguero-Gomez [aut] (<https://orcid.org/0000-0002-6085-4433>),\nHiroyuki Yokomizo [aut]\n(<https://orcid.org/0000-0001-9814-8465>)",
  "Maintainer": "Richard A. Hinrichsen <r.hinrichsen.ecology@gmail.com>",
  "Authors@R": "c(\nperson(c(\"Richard\", \"A.\"), \"Hinrichsen\", , \"r.hinrichsen.ecology@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0761-3005\")),\nperson(\"Roberto\", \"Salguero-Gomez\", , \"rob.salguero@zoo.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-6085-4433\")),\nperson(\"Hiroyuki\", \"Yokomizo\", ,\"hiroyuki.yokomizo@nies.go.jp\", role=\"aut\",\ncomment = c(ORCID = \"0000-0001-9814-8465\"))\n)",
  "Description": "Aggregates matrix population models (MPMs) in both the\nlambda (stable growth rate) and R0 (net reproductive rate)\nframeworks, including standard and elasticity-consistent\naggregators. Standard aggregation in the lambda framework\nmaintains consistent lambda and stable stage distribution,\nwhile standard aggregation in the R0 framework maintains\nconsistent R0 and cohort stable stage distribution.\nElasticity-consistent aggregators maintain these same\nconsistencies with respect to the chosen framework and\nadditionally preserve consistent reproductive values in the\nlambda framework and cohort reproductive values in the R0\nframework. Aggregation can take the form of general-to-general\nMPM (mpm_aggregate) or Leslie-to-Leslie MPM (leslie_aggregate).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://hinrich62.r-universe.dev",
  "Date/Publication": "2026-05-24 01:47:48 UTC",
  "RemoteUrl": "https://github.com/hinrich62/mpmaggregate",
  "RemoteRef": "HEAD",
  "RemoteSha": "04661045b125c53f473f28d7eca97c717f5f616e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 02:57:57 UTC",
    "User": "root"
  },
  "MD5sum": "9fdb3ef326669c0544b2045365d4edec",
  "_user": "hinrich62",
  "_type": "src",
  "_file": "mpmaggregate_0.2.6.tar.gz",
  "_fileid": "9e36ef1e195373a466fc36e8dc55fde0b1ebd276cb60a3d6b3886bbe981d7b15",
  "_filesize": 1376491,
  "_sha256": "9e36ef1e195373a466fc36e8dc55fde0b1ebd276cb60a3d6b3886bbe981d7b15",
  "_created": "2026-05-24T02:57:57.000Z",
  "_published": "2026-05-24T03:01:12.779Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77566999540,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7181709584"
    },
    {
      "job": 77566999531,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181712751"
    },
    {
      "job": 77566999533,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7181707522"
    },
    {
      "job": 77566999538,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181708033"
    },
    {
      "job": 77566832700,
      "time": 218,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181698469"
    },
    {
      "job": 77566999534,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181708889"
    },
    {
      "job": 77566999539,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7181705918"
    },
    {
      "job": 77566999556,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7181704783"
    },
    {
      "job": 77566999541,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181704963"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hinrich62/mpmaggregate",
  "_commit": {
    "id": "04661045b125c53f473f28d7eca97c717f5f616e",
    "author": "Richard Hinrichsen <r.hinrichsen.ecology@gmail.com>",
    "committer": "Richard Hinrichsen <r.hinrichsen.ecology@gmail.com>",
    "message": "Prepare release 0.2.6\n",
    "time": 1779587268
  },
  "_maintainer": {
    "name": "Richard A. Hinrichsen",
    "email": "r.hinrichsen.ecology@gmail.com",
    "login": "hinrich62",
    "linkedin": "in/rich-hinrichsen-9a3155142",
    "orcid": "0000-0003-0761-3005",
    "description": "Quantitative Ecologist\nIndependent Researcher",
    "uuid": 37315443
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "expm",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "Rcompadre",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "rphylopic",
      "role": "Suggests"
    },
    {
      "package": "collidr",
      "role": "Suggests"
    },
    {
      "package": "png",
      "role": "Suggests"
    }
  ],
  "_owner": "hinrich62",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 4
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.2.3",
      "date": "2026-03-23"
    },
    {
      "name": "v0.2.4",
      "date": "2026-03-29"
    },
    {
      "name": "v0.2.5",
      "date": "2026-04-03"
    },
    {
      "name": "v0.2.6",
      "date": "2026-05-24"
    }
  ],
  "_topics": [
    "demography",
    "ecology",
    "matrix-population-models",
    "model-aggregation",
    "population-dynamics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hinrich62",
      "count": 14,
      "uuid": 37315443
    }
  ],
  "_userbio": {
    "uuid": 37315443,
    "type": "user",
    "name": "Richard Hinrichsen",
    "description": "Quantitative Ecologist\r\nIndependent Researcher"
  },
  "_downloads": {
    "count": 482,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mpmaggregate"
  },
  "_devurl": "https://github.com/hinrich62/mpmaggregate",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mpmaggregate.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hinrich62/mpmaggregate",
  "_realowner": "hinrich62",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.5",
      "date": "2026-04-03"
    }
  ],
  "_exports": [
    "dominant_eigen",
    "generation_time",
    "is_leslie",
    "leslie_aggregate",
    "leslie_disaggregate",
    "leslie_dominant_eigen",
    "leslie_reproductive_values",
    "leslie_stable_age",
    "mpm_aggregate",
    "mpm_elasticity",
    "mpm_partition",
    "reproductive_values",
    "spectral_radius",
    "stable_stage"
  ],
  "_datasets": [
    {
      "name": "matA_elephant1",
      "title": "Coarse-scale Asian elephant projection matrix",
      "object": "matA_elephant1",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "A1",
        "A2",
        "A3",
        "A4",
        "A5",
        "A6",
        "A7",
        "A8",
        "A9",
        "A10",
        "A11",
        "A12"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "matA_elephant2",
      "title": "Fine-scale Asian elephant projection matrix",
      "object": "matA_elephant2",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "A1",
        "A2",
        "A3",
        "A4",
        "A5",
        "A6",
        "A7",
        "A8",
        "A9",
        "A10",
        "A11",
        "A12",
        "A13",
        "A14",
        "A15",
        "A16",
        "A17",
        "A18",
        "A19",
        "A20",
        "A21",
        "A22",
        "A23",
        "A24",
        "A25",
        "A26",
        "A27",
        "A28",
        "A29",
        "A30",
        "A31",
        "A32",
        "A33",
        "A34",
        "A35",
        "A36",
        "A37",
        "A38",
        "A39",
        "A40",
        "A41",
        "A42",
        "A43",
        "A44",
        "A45",
        "A46",
        "A47",
        "A48",
        "A49",
        "A50",
        "A51",
        "A52",
        "A53",
        "A54",
        "A55",
        "A56",
        "A57",
        "A58",
        "A59",
        "A60"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mpmaggregate-package",
      "title": "mpmaggregate: Aggregation of matrix population models",
      "topics": [
        "mpmaggregate-package",
        "mpmaggregate"
      ]
    },
    {
      "page": "dominant_eigen",
      "title": "Dominant eigen-elements of a population projection matrix",
      "topics": [
        "dominant_eigen"
      ]
    },
    {
      "page": "generation_time",
      "title": "Generation time from a matrix population model",
      "topics": [
        "generation_time"
      ]
    },
    {
      "page": "is_leslie",
      "title": "Test whether a matrix is a Leslie matrix",
      "topics": [
        "is_leslie"
      ]
    },
    {
      "page": "leslie_aggregate",
      "title": "Aggregate Leslie-to-Leslie matrix population model",
      "topics": [
        "leslie_aggregate"
      ]
    },
    {
      "page": "leslie_disaggregate",
      "title": "Disaggregate a Leslie matrix population model to a compatible dimensionality",
      "topics": [
        "leslie_disaggregate"
      ]
    },
    {
      "page": "leslie_dominant_eigen",
      "title": "Dominant eigen-elements of a Leslie matrix",
      "topics": [
        "leslie_dominant_eigen"
      ]
    },
    {
      "page": "leslie_reproductive_values",
      "title": "Reproductive values for a Leslie matrix",
      "topics": [
        "leslie_reproductive_values"
      ]
    },
    {
      "page": "leslie_stable_age",
      "title": "Stable age distribution for a Leslie matrix",
      "topics": [
        "leslie_stable_age"
      ]
    },
    {
      "page": "matA_elephant1",
      "title": "Coarse-scale Asian elephant projection matrix",
      "topics": [
        "matA_elephant1"
      ]
    },
    {
      "page": "matA_elephant2",
      "title": "Fine-scale Asian elephant projection matrix",
      "topics": [
        "matA_elephant2"
      ]
    },
    {
      "page": "mpm_aggregate",
      "title": "Aggregate a general-to-general matrix population model",
      "topics": [
        "mpm_aggregate"
      ]
    },
    {
      "page": "mpm_elasticity",
      "title": "Elasticity of lambda or R0 with respect to entries of 'matA'",
      "topics": [
        "mpm_elasticity"
      ]
    },
    {
      "page": "mpm_partition",
      "title": "Create a partitioning matrix for MPM aggregation",
      "topics": [
        "mpm_partition"
      ]
    },
    {
      "page": "reproductive_values",
      "title": "Compute reproductive values",
      "topics": [
        "reproductive_values"
      ]
    },
    {
      "page": "spectral_radius",
      "title": "Compute the spectral radius of a matrix",
      "topics": [
        "spectral_radius"
      ]
    },
    {
      "page": "stable_stage",
      "title": "Compute the stable stage distribution",
      "topics": [
        "stable_stage"
      ]
    }
  ],
  "_readme": "https://github.com/hinrich62/mpmaggregate/raw/HEAD/README.md",
  "_rundeps": [
    "expm",
    "lattice",
    "Matrix"
  ],
  "_vignettes": [
    {
      "source": "mpmaggregate_general-to-general.Rmd",
      "filename": "mpmaggregate_general-to-general.html",
      "title": "Aggregating a general-to-general MPM",
      "author": "Richard A. Hinrichsen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Loading packages",
        "Data acquisition",
        "Helper functions for demographic quantities",
        "Aggregate in four ways",
        "Compare (\\lambda), (R_0), (T_a), and (T_c) in a table",
        "Interpretation notes",
        "Elasticities of (\\lambda): making them comparable across models",
        "[\\mathbf",
        "Plot elasticities of (\\lambda) by matrix entry",
        "Elasticities of (R_0): making them comparable across models",
        "Plot elasticities of (R_0) by matrix entry",
        "Comparing elasticities of (\\lambda) and (R_0)",
        "Summary",
        "References"
      ],
      "created": "2026-02-14 05:14:54",
      "modified": "2026-03-29 03:10:58",
      "commits": 3
    },
    {
      "source": "mpmaggregate-leslie-to-leslie.Rmd",
      "filename": "mpmaggregate-leslie-to-leslie.html",
      "title": "Aggregating a Leslie-to-Leslie MPM",
      "author": "Richard A. Hinrichsen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Loading packages",
        "Data acquisition",
        "Helper functions for demographic quantities",
        "Aggregate in four ways",
        "Compare (\\lambda), (R_0), (T_a), and (T_c) in a table",
        "Interpretation notes",
        "Elasticities of (\\lambda): making them comparable across models",
        "[\\mathbf",
        "Plot: elasticities of ( \\lambda^k ) by matrix entry",
        "Elasticities of (R_0): making them comparable across models",
        "Plot: elasticities of (R_0) by matrix entry",
        "Comparing elasticities of (\\lambda^k) and (R_0)",
        "References"
      ],
      "created": "2026-02-14 05:14:54",
      "modified": "2026-03-29 03:10:58",
      "commits": 3
    },
    {
      "source": "asian_elephant_aggregation.Rmd",
      "filename": "asian_elephant_aggregation.html",
      "title": "Aggregating Asian Elephant Matrix Population Models for Comparative Demography with mpmaggregate",
      "author": "Richard A. Hinrichsen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Loading packages",
        "Data acquisition (COMADRE via Rcompadre)",
        "Define the aggregation target",
        "Run aggregation under four option sets",
        "Comparison to an existing coarse (5-year) matrix",
        "Demographic metrics for Leslie matrices",
        "Comparison of λ and (R_0) across five models. First develop a list of models with associated projection matrices",
        "Next table the results for λ and (R_0)",
        "Interpretation notes",
        "Plot figures",
        "Comparing elasticities of (\\lambda) and (R_0)",
        "Summary",
        "References"
      ],
      "created": "2026-02-14 05:14:54",
      "modified": "2026-03-29 03:10:58",
      "commits": 3
    },
    {
      "source": "mpmaggregate.Rmd",
      "filename": "mpmaggregate.html",
      "title": "mpmaggregate: An Introduction to Aggregating Matrix Population Models",
      "author": "Richard A. Hinrichsen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Demographic frameworks: (\\lambda) and (R_0)",
        "Aggregation criteria: standard and elasticity-consistent",
        "Package functions",
        "Loading packages",
        "Aggregating general-to-general MPM",
        "Lambda framework: standard aggregation",
        "Lambda framework: elasticity-consistent aggregation",
        "(R_0)framework: decomposition of ( \\mathbf{A} )",
        "(R_0) framework: standard aggregation",
        "(R_0) framework: elasticity-consistent aggregation",
        "Aggregating Leslie-to-Leslie MPM",
        "(R_0) framework",
        "Interpretation",
        "References"
      ],
      "created": "2026-02-14 05:14:54",
      "modified": "2026-03-29 03:10:58",
      "commits": 3
    }
  ],
  "_score": 5,
  "_indexed": true,
  "_nocasepkg": "mpmaggregate",
  "_universes": [
    "hinrich62"
  ],
  "_previous": "0.2.5",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.6",
      "date": "2026-05-24T03:00:09.000Z",
      "distro": "noble",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "7dabe01341391bf5be8d4f94bab061f31ba3477872f5acdee2cc8f8d2d9819a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.6",
      "date": "2026-05-24T03:00:39.000Z",
      "distro": "noble",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "34abc37c735b29f9e149581c1c664dd41ab30ec8fb0bb66c334248840ee59da3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.6",
      "date": "2026-05-24T02:59:53.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "72d1326783056309537802b7c8eb1fe297505fcf35259518fa6f4d6384862f09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.6",
      "date": "2026-05-24T02:59:55.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "2b5c06af111348cdc3e86b09922cbe2d93fdd904c605259b809ac9936e537b95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.6",
      "date": "2026-05-24T03:00:17.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "fa3e42ee6158beed7a339fcfc1a1bcb2daebc5ff697e71370fef460a11cc9007",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-05-24T02:59:22.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "dcde8605661c75379d6ad01e2e823ef1b836a9abb93fb4111339236e23140671",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-05-24T02:59:10.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "f013bc729104d553ff07f6537dec34ecde2775a8322bbe943439d77e2e63d4e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-05-24T02:59:12.000Z",
      "commit": "04661045b125c53f473f28d7eca97c717f5f616e",
      "fileid": "eda43ae00db72135dbcc9eaf77d6b09613f1b6b6a42e52bdd48610e8fe4e2a49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hinrich62/actions/runs/26350161013"
    }
  ]
}