{
  "_id": "6ad72fb34b18b90089999484",
  "Package": "redeem",
  "Type": "Package",
  "Title": "Relational Event and Durational Event Models",
  "Version": "1.1.0",
  "Date": "2026-08-21",
  "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<doi:10.48550/arXiv.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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-20 09:02:12 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-08-21 10:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/redeem",
  "RemoteRef": "HEAD",
  "RemoteSha": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
  "_user": "cran",
  "_type": "src",
  "_file": "redeem_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1c7c5bdb5c3e8c7df7758f61009d43fada9bd473de90d59c9563acc9258119c5",
  "_filesize": 791496,
  "_sha256": "1c7c5bdb5c3e8c7df7758f61009d43fada9bd473de90d59c9563acc9258119c5",
  "_expires": "2027-01-28T09:09:05.000Z",
  "_created": "2026-10-20T09:02:12.000Z",
  "_published": "2026-10-20T09:09:07.660Z",
  "_upstream": "https://github.com/cran/redeem",
  "_status": "success",
  "_maintainer": {
    "name": "Cornelius Fritz",
    "email": "corneliusfritz2010@gmail.com",
    "login": "corneliusfritz",
    "description": "",
    "uuid": 19375653
  },
  "_jobs": [
    {
      "job": 118544913105,
      "time": 176,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12252826819"
    },
    {
      "job": 118544913198,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12254005111"
    },
    {
      "job": 118544913133,
      "time": 160,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12252941443"
    },
    {
      "job": 118544913040,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12252981613"
    },
    {
      "job": 118543304146,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12252172702"
    },
    {
      "job": 118544912815,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12252398082"
    },
    {
      "job": 118544913299,
      "time": 333,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12253860737"
    },
    {
      "job": 118544913514,
      "time": 290,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12252607484"
    },
    {
      "job": 118544913218,
      "time": 333,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12252812350"
    },
    {
      "job": 118544913158,
      "time": 235,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12252837008"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128",
  "_commit": {
    "id": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
    "author": "Cornelius Fritz <corneliusfritz2010@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1787308202
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-06-22"
    },
    {
      "name": "1.1.0",
      "date": "2026-08-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "corneliusfritz",
      "count": 2,
      "uuid": 19375653
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 283,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/redeem"
  },
  "_devurl": "https://github.com/corneliusfritz/redeem",
  "_pkgdown": "https://corneliusfritz.github.io/redeem/",
  "_searchresults": 75,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/redeem.html"
  ],
  "_homeurl": "https://github.com/corneliusfritz/redeem",
  "_realowner": "corneliusfritz",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-06-22"
    },
    {
      "version": "1.1.0",
      "date": "2026-08-21"
    }
  ],
  "_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/cran/redeem/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-22 18:32:53",
      "modified": "2026-06-22 18:32:53",
      "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-22 18:32:53",
      "modified": "2026-06-22 18:32:53",
      "commits": 1
    },
    {
      "source": "sufficient_statistics.Rmd",
      "filename": "sufficient_statistics.html",
      "title": "Mathematical Definitions and Formula Specifications of Sufficient Statistics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Statistic Transformations",
        "Formula Examples",
        "Baseline and Nuisance Terms",
        "1. Intercept (intercept / Intercept)",
        "2. Time-Varying Baseline (baseline)",
        "3. Degree Fixed Effects (degree / degrees)",
        "Endogenous Dyadic Terms",
        "1. Inertia (inertia / number_interaction)",
        "2. Reciprocity (reciprocity)",
        "3. Duration (duration / current_interaction)",
        "4. Participation Shifts (ps / psABBA, psABBY, psABAY, psABXA, psABXB, psABXY)",
        "Triadic Closure and Shared Partners",
        "1. Common Partners (general_common_partners / current_common_partners / common_partner)",
        "2. Triangles (general_triangle / current_triangle / triangle)",
        "Degree and Centrality Statistics",
        "1. Binary Degree Statistics (general_degree_*, current_degree_*, degree)",
        "2. Weighted Event Count Statistics (general_count_*, current_count_*, count)",
        "Exogenous Statistics",
        "1. Dyadic Covariate (dyadic_cov)",
        "2. Monadic Covariate (monadic_cov)"
      ],
      "created": "2026-06-22 18:32:53",
      "modified": "2026-08-21 10:30:02",
      "commits": 2
    }
  ],
  "_score": 4.352182518111363,
  "_indexed": false,
  "_nocasepkg": "redeem",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://corneliusfritz.r-universe.dev/redeem",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/b702cd1383218e78ef8b7b09dff7c445679a942c43ca5b35dd4562ce5f5001c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/7fe6227449df32f2ff0bc9b236a6555288fdd539762fa59d0022a77033a8baa7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/813502e62cbdf9f6e922012a6dfca5bd29e7075c66416e0bc55b24c9c0ce8b5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/6127ac45fc5599c0f8bbc4260221e7af01c0642c71781900503506458f174f7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:42.000Z",
      "arch": "emscripten",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/f0502ea680fbbb3a63659a6a6ce2703896bf5957ca5bda9ef2e0bbbc24442b91",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-20T09:06:16.000Z",
      "arch": "aarch64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/e1ff1f3098fb7d26a2c6ff185559fac703aa0f493ae1a955611680e62bdce068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:04.000Z",
      "arch": "x86_64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/d03d273738fc5a193ba5867d3a4572fd47dd927e1bb575b491eed7f2340ab19c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-20T09:06:25.000Z",
      "arch": "aarch64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/9fad4218592325baa0c4eacc16ab175ef047dcfe9b017f8c6360113588f6c594",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-20T09:04:03.000Z",
      "arch": "x86_64",
      "commit": "39da640c75dd3ce5671dfdf4fad369a3b7a42258",
      "fileid": "https://r2.ropensci.org/8d441129e1e558b673d12775be563a6130a423a417867770dffd91bbe2039070",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39397184128"
    }
  ]
}