{
  "_id": "6a3a676b6265ec60d6215e1d",
  "Package": "redeem",
  "Type": "Package",
  "Title": "Relational Event and Durational Event Models",
  "Version": "1.0.0",
  "Date": "2026-04-30",
  "Author": "Cornelius Fritz [aut, cre]",
  "Maintainer": "Cornelius Fritz <corneliusfritz2010@gmail.com>",
  "Authors@R": "person(\"Cornelius\", \"Fritz\", , \"corneliusfritz2010@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Model relational and durational events in a counting\nprocess framework, with functions for estimating and simulating\nRelational Event Models (REM) and Durational Event Models\n(DEM). Includes support for time-varying covariates, windowed\nstatistics, and high-dimensional node-level fixed effects.\nReferences include Fritz et al. (2026) \"Scalable Durational\nEvent Models: Application to Physical and Digital Interactions\"\n<https://arxiv.org/abs/2504.00049>.",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "URL": "https://corneliusfritz.github.io/redeem/",
  "BugReports": "https://github.com/corneliusfritz/redeem/issues",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://corneliusfritz.r-universe.dev",
  "Date/Publication": "2026-06-17 21:15:47 UTC",
  "RemoteUrl": "https://github.com/corneliusfritz/redeem",
  "RemoteRef": "HEAD",
  "RemoteSha": "c0c5483e95d607b90eb601b4aed362eab3114415",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-23 10:49:43 UTC",
    "User": "root"
  },
  "MD5sum": "b3fea45b2145c3892050b5875810d8dc",
  "_user": "corneliusfritz",
  "_type": "src",
  "_file": "redeem_1.0.0.tar.gz",
  "_fileid": "ac4be1762890fdfffe3b2b97d1f3c79f44b2439694568424daa9af6fbef82af1",
  "_filesize": 5465660,
  "_sha256": "ac4be1762890fdfffe3b2b97d1f3c79f44b2439694568424daa9af6fbef82af1",
  "_created": "2026-06-23T10:49:43.000Z",
  "_published": "2026-06-23T11:00:59.189Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82936623161,
      "time": 255,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7818739760"
    },
    {
      "job": 82936623124,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7818728745"
    },
    {
      "job": 82936623103,
      "time": 267,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7818743667"
    },
    {
      "job": 82936623062,
      "time": 212,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7818725090"
    },
    {
      "job": 82936623137,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7818791480"
    },
    {
      "job": 82936623113,
      "time": 498,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7818847062"
    },
    {
      "job": 82936623105,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7818818566"
    },
    {
      "job": 82936623165,
      "time": 367,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7818815336"
    },
    {
      "job": 82935789928,
      "time": 280,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818650307"
    },
    {
      "job": 82936623055,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7818705214"
    },
    {
      "job": 82936623094,
      "time": 194,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7818718251"
    },
    {
      "job": 82936623078,
      "time": 237,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7818733059"
    },
    {
      "job": 82936623084,
      "time": 261,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7818740510"
    }
  ],
  "_buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/corneliusfritz/redeem",
  "_commit": {
    "id": "c0c5483e95d607b90eb601b4aed362eab3114415",
    "author": "Cornelius Fritz <corneliusfritz2010@gmail.com>",
    "committer": "Cornelius Fritz <corneliusfritz2010@gmail.com>",
    "message": "ed\n",
    "time": 1781730947
  },
  "_maintainer": {
    "name": "Cornelius Fritz",
    "email": "corneliusfritz2010@gmail.com",
    "login": "corneliusfritz",
    "description": "",
    "uuid": 19375653
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "network",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "corneliusfritz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 4
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "corneliusfritz",
      "count": 5,
      "uuid": 19375653
    }
  ],
  "_userbio": {
    "uuid": 19375653,
    "type": "user",
    "name": "Cornelius Fritz ",
    "followers": 13
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/redeem"
  },
  "_devurl": "https://github.com/corneliusfritz/redeem",
  "_pkgdown": "https://corneliusfritz.github.io/redeem/",
  "_searchresults": 58,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/redeem.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/corneliusfritz/redeem",
  "_realowner": "corneliusfritz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-06-22"
    }
  ],
  "_exports": [
    "baseline",
    "check_matrix",
    "common_partner",
    "control.redeem",
    "count",
    "current_common_partner",
    "current_common_partner_ISP",
    "current_common_partner_ITP",
    "current_common_partner_OSP",
    "current_common_partner_OTP",
    "current_common_partners",
    "current_count_absdiff",
    "current_count_in_receiver",
    "current_count_in_sender",
    "current_count_out_receiver",
    "current_count_out_sender",
    "current_count_sum",
    "current_degree_absdiff",
    "current_degree_in_receiver",
    "current_degree_in_sender",
    "current_degree_out_receiver",
    "current_degree_out_sender",
    "current_degree_sum",
    "current_interaction",
    "current_triangle",
    "degree",
    "degrees",
    "dem",
    "dem.simulate",
    "duration",
    "dyadic_cov",
    "general_common_partner",
    "general_common_partner_ISP",
    "general_common_partner_ITP",
    "general_common_partner_OSP",
    "general_common_partner_OTP",
    "general_common_partners",
    "general_count_absdiff",
    "general_count_in_receiver",
    "general_count_in_sender",
    "general_count_out_receiver",
    "general_count_out_sender",
    "general_count_sum",
    "general_degree_absdiff",
    "general_degree_in_receiver",
    "general_degree_in_sender",
    "general_degree_out_receiver",
    "general_degree_out_sender",
    "general_degree_sum",
    "general_triangle",
    "get_oos_likelihood",
    "get_ranking",
    "get_residuals",
    "inertia",
    "intercept",
    "Intercept",
    "monadic_cov",
    "number_interaction",
    "plot_baseline",
    "predict_baseline_trend",
    "ps",
    "psABAY",
    "psABBA",
    "psABBY",
    "psABXA",
    "psABXB",
    "psABXY",
    "reciprocity",
    "rem",
    "rem.simulate",
    "triangle"
  ],
  "_help": [
    {
      "page": "check_matrix",
      "title": "Validate the Structure of a Durational Event List",
      "topics": [
        "check_matrix"
      ]
    },
    {
      "page": "control.redeem",
      "title": "Control Parameters for REDEEM Models",
      "topics": [
        "control.redeem"
      ]
    },
    {
      "page": "dem",
      "title": "Durational Event Model (DEM) Estimation",
      "topics": [
        "dem"
      ]
    },
    {
      "page": "dem_object",
      "title": "The dem Object",
      "topics": [
        "dem-class",
        "dem_object"
      ]
    },
    {
      "page": "dem.simulate",
      "title": "Simulate events based on specified formulas and coefficients",
      "topics": [
        "dem.simulate"
      ]
    },
    {
      "page": "get_oos_likelihood",
      "title": "Out-of-sample Log-Likelihood (Proper Scoring Rule)",
      "topics": [
        "get_oos_likelihood"
      ]
    },
    {
      "page": "get_ranking",
      "title": "Get ranking for test events (Out-of-Sample Goodness-of-Fit)",
      "topics": [
        "get_ranking"
      ]
    },
    {
      "page": "get_residuals",
      "title": "Get residuals for model diagnostics (Cox-Snell Residuals)",
      "topics": [
        "get_residuals"
      ]
    },
    {
      "page": "plot_baseline",
      "title": "Plot the Estimated Baseline Intensity",
      "topics": [
        "plot_baseline"
      ]
    },
    {
      "page": "predict_baseline_trend",
      "title": "Predict the baseline intensity trend at one or more future time points",
      "topics": [
        "predict_baseline_trend"
      ]
    },
    {
      "page": "redeem_terms",
      "title": "redeem Model Terms",
      "topics": [
        "baseline",
        "common_partner",
        "count",
        "current_common_partner",
        "current_common_partners",
        "current_common_partner_ISP",
        "current_common_partner_ITP",
        "current_common_partner_OSP",
        "current_common_partner_OTP",
        "current_count_absdiff",
        "current_count_in_receiver",
        "current_count_in_sender",
        "current_count_out_receiver",
        "current_count_out_sender",
        "current_count_sum",
        "current_degree_absdiff",
        "current_degree_in_receiver",
        "current_degree_in_sender",
        "current_degree_out_receiver",
        "current_degree_out_sender",
        "current_degree_sum",
        "current_interaction",
        "current_triangle",
        "degree",
        "degrees",
        "duration",
        "dyadic_cov",
        "general_common_partner",
        "general_common_partners",
        "general_common_partner_ISP",
        "general_common_partner_ITP",
        "general_common_partner_OSP",
        "general_common_partner_OTP",
        "general_count_absdiff",
        "general_count_in_receiver",
        "general_count_in_sender",
        "general_count_out_receiver",
        "general_count_out_sender",
        "general_count_sum",
        "general_degree_absdiff",
        "general_degree_in_receiver",
        "general_degree_in_sender",
        "general_degree_out_receiver",
        "general_degree_out_sender",
        "general_degree_sum",
        "general_triangle",
        "inertia",
        "Intercept",
        "intercept",
        "monadic_cov",
        "number_interaction",
        "ps",
        "psABAY",
        "psABBA",
        "psABBY",
        "psABXA",
        "psABXB",
        "psABXY",
        "reciprocity",
        "redeem_terms",
        "statistics",
        "terms",
        "triangle"
      ]
    },
    {
      "page": "rem",
      "title": "Relational Event Model (REM) Estimation",
      "topics": [
        "rem"
      ]
    },
    {
      "page": "rem_object",
      "title": "The rem Object",
      "topics": [
        "rem-class",
        "rem_object"
      ]
    },
    {
      "page": "rem.simulate",
      "title": "Simulate a Relational Event Model (REM)",
      "topics": [
        "rem.simulate"
      ]
    },
    {
      "page": "summary.redeem_result",
      "title": "Summary of a 'redeem_result' Model Fit",
      "topics": [
        "summary.redeem_result"
      ]
    }
  ],
  "_pkglogo": "https://github.com/corneliusfritz/redeem/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/corneliusfritz/redeem/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "digest",
    "lattice",
    "MASS",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "introduction_to_dem.Rmd",
      "filename": "introduction_to_dem.html",
      "title": "Introduction to Durational Event Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Theoretical Framework",
        "Summary Statistics",
        "Fine-tuning with \\code",
        "Example: Simulating and Fitting a DEM",
        "Data Preparation",
        "Model Fitting",
        "Interpretation",
        "Simulation and Model Diagnostics",
        "Predicting and Simulating Events",
        "Residual Analysis",
        "References"
      ],
      "created": "2026-06-04 09:43:55",
      "modified": "2026-06-04 09:43:55",
      "commits": 1
    },
    {
      "source": "introduction_to_rem.Rmd",
      "filename": "introduction_to_rem.html",
      "title": "Introduction to Relational Event Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Theoretical Framework: Relational Event Models",
        "Summary Statistics and Degree Effects",
        "Example: Simulating and Fitting a REM",
        "Data Preparation",
        "Model Fitting",
        "Interpretation",
        "Simulation and Model Diagnostics",
        "Predicting and Simulating Events",
        "Residual Analysis"
      ],
      "created": "2026-06-04 09:43:55",
      "modified": "2026-06-04 09:43:55",
      "commits": 1
    },
    {
      "source": "sufficient_statistics.Rmd",
      "filename": "sufficient_statistics.html",
      "title": "Mathematical Definitions of Sufficient Statistics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Statistic Transformations",
        "Endogenous Network Statistics",
        "1. Intercept (Intercept / intercept)",
        "2. Inertia (inertia / number_interaction)",
        "3. Reciprocity (reciprocity)",
        "4. Duration (duration / current_interaction)",
        "5. Participation Shifts (P-shifts)",
        "Triadic Closure and Shared Partners",
        "Common Partners (general_common_partners / current_common_partners)",
        "Triangles (general_triangle / current_triangle)",
        "Degree and Centrality Statistics",
        "Degree Statistics (general_degree_out_sender, etc.)",
        "Count Statistics (general_count_out_sender, etc.)",
        "Exogenous Statistics",
        "1. Dyadic Covariate (dyadic_cov)",
        "2. Monadic Covariate (monadic_cov)",
        "Developer Guide: Adding Custom Sufficient Statistics",
        "Step 1: Implement the Update Logic in C++",
        "Step 2: Write the R Initializer Function"
      ],
      "created": "2026-06-04 09:43:55",
      "modified": "2026-06-04 10:27:20",
      "commits": 2
    }
  ],
  "_score": 5.2405492482825995,
  "_indexed": true,
  "_nocasepkg": "redeem",
  "_universes": [
    "corneliusfritz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-23T10:53:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "5fff525fddc12b95320f46c385cda7d8475ebb30ca013e8970d4f5a6228b10b7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-23T10:52:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "1154a257ede4bd10958ce84be1fe2ab9a5d59806f133a3cf7f2a7a3564088e57",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-23T10:53:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "6fc63f5e0596ba39f8586f7cd79041028457289db440c7c255e5c03e6e1fe57d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-23T10:52:45.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "005cb8ad7a9fdc42b465dd253d55f589978f44cf904cddfc939add23812088fd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-23T10:56:45.000Z",
      "arch": "aarch64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "90710386c2c43037bcdc4019816b78d8a551517cab2a9a1d648d8b68202a22d0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-23T10:56:07.000Z",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "39d7a92cd3538ad0e9bd0344a0a2a3561699daf66ff5790343e2cc25d47acfd4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-23T10:57:46.000Z",
      "arch": "aarch64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "ab529f44b3d267048cbfb334676a464a3c85ca0afa317f9a6bac5d7175ba2f33",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-23T10:55:32.000Z",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "e30dc61c99589ce8448133c43c6aa26572c7f7155fd53d355737b9d03c902129",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-23T10:52:42.000Z",
      "arch": "emscripten",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "9358403e5ecc15c8f9422913a29ddb187001ef474a853518ad1d54616d32d3f1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-23T10:51:56.000Z",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "ac0d18e395d550eeb57ced357feca65cfe78f2dd8e1387b452a766095f60204b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-23T10:52:02.000Z",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "50feaf5975c04ca9b668a5d1f92bd4488bf21f711545c7dfaa8303d008cdec6e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-23T10:51:56.000Z",
      "arch": "x86_64",
      "commit": "c0c5483e95d607b90eb601b4aed362eab3114415",
      "fileid": "b9c8857ebb9ef4e17974184c6e5d39a6b92075ca820b285eadd7312adbdb5d39",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/corneliusfritz/actions/runs/28020630528"
    }
  ]
}