{
  "_id": "6ab4d4923d719c1f84096461",
  "Package": "cmpp",
  "Type": "Package",
  "Title": "Direct Parametric Inference for the Cumulative Incidence\nFunction in Competing Risks",
  "Version": "0.0.2",
  "Date": "2025-04-16",
  "Authors@R": "person(given = \"Habib\",\nfamily = \"Ezzatabadipour\",\nemail = \"habibezati@outlook.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Implements parametric (Direct) regression methods for\nmodeling cumulative incidence functions (CIFs) in the presence\nof competing risks. Methods include the direct Gompertz-based\napproach and generalized regression models as described in\nJeong and Fine (2006) <doi:10.1111/j.1467-9876.2006.00532.x>\nand Jeong and Fine (2007) <doi:10.1093/biostatistics/kxj040>.\nThe package facilitates maximum likelihood estimation, variance\ncomputation, with applications to clinical trials and survival\nanalysis.",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-24 07:38:03 UTC",
    "User": "root"
  },
  "Author": "Habib Ezzatabadipour [aut, cre]",
  "Maintainer": "Habib Ezzatabadipour <habibezati@outlook.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-05-02 22:38:30 UTC",
  "RemoteUrl": "https://github.com/cran/cmpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "3fe937a212c27d2aebd637645817453a957a3e85",
  "_user": "cran",
  "_type": "src",
  "_file": "cmpp_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/edc455600cdd8e371849fe6ee678e1ea459beab24e8452ce3bdd2d8a8ee28c70",
  "_filesize": 221589,
  "_sha256": "edc455600cdd8e371849fe6ee678e1ea459beab24e8452ce3bdd2d8a8ee28c70",
  "_expires": "2027-01-02T07:43:12.000Z",
  "_created": "2026-09-24T07:38:03.000Z",
  "_published": "2026-09-24T07:43:14.283Z",
  "_jobs": [
    {
      "job": 107539550693,
      "time": 131,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10795812265"
    },
    {
      "job": 107539550801,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10796326982"
    },
    {
      "job": 107539550720,
      "time": 135,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10796086686"
    },
    {
      "job": 107539550712,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796321977"
    },
    {
      "job": 107538589996,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796395742"
    },
    {
      "job": 107539550698,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10796071860"
    },
    {
      "job": 107539550694,
      "time": 204,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10796570068"
    },
    {
      "job": 107539550734,
      "time": 176,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10795553108"
    },
    {
      "job": 107539550841,
      "time": 263,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796221612"
    },
    {
      "job": 107539550798,
      "time": 146,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796051867"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088",
  "_status": "success",
  "_upstream": "https://github.com/cran/cmpp",
  "_commit": {
    "id": "3fe937a212c27d2aebd637645817453a957a3e85",
    "author": "Habib Ezzatabadipour <habibezati@outlook.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.2\n",
    "time": 1746225510
  },
  "_maintainer": {
    "name": "Habib Ezzatabadipour",
    "email": "habibezati@outlook.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "cmprsk",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 412,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cmpp"
  },
  "_searchresults": 75,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/cmpp.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-05-02"
    },
    {
      "version": "0.0.2",
      "date": "2025-05-02"
    }
  ],
  "_exports": [
    "bootstrap_variance",
    "cdf_gomp",
    "CIF_Figs",
    "CIF_res1",
    "Cleanup",
    "Cmpp_CIF",
    "compute_grad",
    "compute_hessian",
    "compute_log_f_gradient_rcpp",
    "compute_log_f_gradient_rcpp2",
    "compute_log_f_gradient_rcpp3",
    "compute_log_f_hessian_rcpp",
    "estimate_parameters",
    "estimate_parameters_GOR",
    "estimate_parameters_PHM",
    "estimate_parameters_POM",
    "F_cdf_rcpp",
    "F_cdf_rcpp2",
    "F_cdf_rcpp3",
    "f_pdf_rcpp",
    "f_pdf_rcpp2",
    "f_pdf_rcpp3",
    "FineGray_Model",
    "GetData",
    "GetDim",
    "Initialize",
    "log_f_rcpp",
    "log_f_rcpp2",
    "log_f_rcpp3",
    "LogLike1",
    "make_Dummy",
    "makeMat",
    "pdf_gomp"
  ],
  "_datasets": [
    {
      "name": "fertility_data",
      "title": "Fertility History of Rural Women in Shiraz",
      "object": "fertility_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "age",
        "time",
        "Education",
        "Event"
      ],
      "rows": 652,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootstrap_variance",
      "title": "Estimate Variance of Parameters Using Bootstrap Method",
      "topics": [
        "bootstrap_variance"
      ]
    },
    {
      "page": "cdf_gomp",
      "title": "Compute the CDF of the Gompertz Distribution",
      "topics": [
        "cdf_gomp"
      ]
    },
    {
      "page": "CIF_Figs",
      "title": "Plot Cumulative Incidence Functions (CIF) with Confidence Intervals",
      "topics": [
        "CIF_Figs"
      ]
    },
    {
      "page": "CIF_res1",
      "title": "Compute Cumulative Incidence Function (CIF) Results",
      "topics": [
        "CIF_res1"
      ]
    },
    {
      "page": "Cleanup",
      "title": "Clean up memory by deleting the pointer to the Cmpp instance",
      "topics": [
        "Cleanup"
      ]
    },
    {
      "page": "cmpp",
      "title": "Direct Parametric Inference for the Cumulative Incidence Function in Competing Risks",
      "topics": [
        "cmpp-package",
        "cmpp"
      ]
    },
    {
      "page": "Cmpp_CIF",
      "title": "Compute and Plot Cumulative Incidence Functions (CIF) for Competing Risks",
      "topics": [
        "Cmpp_CIF"
      ]
    },
    {
      "page": "compute_grad",
      "title": "Compute the Numerical Gradient of the Log-Likelihood",
      "topics": [
        "compute_grad"
      ]
    },
    {
      "page": "compute_hessian",
      "title": "Compute the Hessian Matrix of the Log-Likelihood",
      "topics": [
        "compute_hessian"
      ]
    },
    {
      "page": "compute_log_f_gradient_rcpp",
      "title": "Compute the Gradient of the Log-Likelihood Function Generalized odds rate (GOR)",
      "topics": [
        "compute_log_f_gradient_rcpp"
      ]
    },
    {
      "page": "compute_log_f_gradient_rcpp2",
      "title": "Compute the Gradient of the Log-Likelihood Function Proportional Odds Model (POM)",
      "topics": [
        "compute_log_f_gradient_rcpp2"
      ]
    },
    {
      "page": "compute_log_f_gradient_rcpp3",
      "title": "Compute the Gradient of the Log-Likelihood Function Proportional Hazards Model (PHM)",
      "topics": [
        "compute_log_f_gradient_rcpp3"
      ]
    },
    {
      "page": "compute_log_f_hessian_rcpp",
      "title": "Compute the Hessian Matrix of the Log-Likelihood Function Generalized odds rate (GOR)",
      "topics": [
        "compute_log_f_hessian_rcpp"
      ]
    },
    {
      "page": "estimate_parameters",
      "title": "Estimate Model Parameters Using Optimization",
      "topics": [
        "estimate_parameters"
      ]
    },
    {
      "page": "estimate_parameters_GOR",
      "title": "Estimate Parameters for the Generalized odds rate (GOR)",
      "topics": [
        "estimate_parameters_GOR"
      ]
    },
    {
      "page": "estimate_parameters_PHM",
      "title": "Estimate Parameters for the Proportional Hazards Model (PHM)",
      "topics": [
        "estimate_parameters_PHM"
      ]
    },
    {
      "page": "estimate_parameters_POM",
      "title": "Estimate Parameters for the Proportional Odds Model (POM)",
      "topics": [
        "estimate_parameters_POM"
      ]
    },
    {
      "page": "F_cdf_rcpp",
      "title": "Compute the CDF of the Parametric Generalized odds rate (GOR)",
      "topics": [
        "F_cdf_rcpp"
      ]
    },
    {
      "page": "F_cdf_rcpp2",
      "title": "Compute the CDF of the Parametric Proportional Odds Model (POM)",
      "topics": [
        "F_cdf_rcpp2"
      ]
    },
    {
      "page": "F_cdf_rcpp3",
      "title": "Compute the CDF of the Parametric Proportional Hazards Model (PHM)",
      "topics": [
        "F_cdf_rcpp3"
      ]
    },
    {
      "page": "f_pdf_rcpp",
      "title": "Compute the PDF of the Parametric Generalized odds rate (GOR)",
      "topics": [
        "f_pdf_rcpp"
      ]
    },
    {
      "page": "f_pdf_rcpp2",
      "title": "Compute the PDF of the Parametric Proportional Odds Model (POM)",
      "topics": [
        "f_pdf_rcpp2"
      ]
    },
    {
      "page": "f_pdf_rcpp3",
      "title": "Compute the PDF of the Parametric Proportional Hazards Model (PHM)",
      "topics": [
        "f_pdf_rcpp3"
      ]
    },
    {
      "page": "fertility_data",
      "title": "Fertility History of Rural Women in Shiraz",
      "topics": [
        "fertility_data"
      ]
    },
    {
      "page": "FineGray_Model",
      "title": "Fine-Gray Model for Competing Risks Data",
      "topics": [
        "FineGray_Model"
      ]
    },
    {
      "page": "GetData",
      "title": "Retrieve Initialized Data from the Cmpp Model",
      "topics": [
        "GetData"
      ]
    },
    {
      "page": "GetDim",
      "title": "Get Dimensions of the Cmpp Object",
      "topics": [
        "GetDim"
      ]
    },
    {
      "page": "Initialize",
      "title": "Initialize Data for the Cmpp Model",
      "topics": [
        "Initialize"
      ]
    },
    {
      "page": "log_f_rcpp",
      "title": "Compute the Log-Likelihood Function Generalized odds rate (GOR)",
      "topics": [
        "log_f_rcpp"
      ]
    },
    {
      "page": "log_f_rcpp2",
      "title": "Compute the Log-Likelihood Function Proportional Odds Model (POM)",
      "topics": [
        "log_f_rcpp2"
      ]
    },
    {
      "page": "log_f_rcpp3",
      "title": "Compute the Log-Likelihood Function Proportional Hazards Model (PHM)",
      "topics": [
        "log_f_rcpp3"
      ]
    },
    {
      "page": "LogLike1",
      "title": "Compute the Log-Likelihood for the Model",
      "topics": [
        "LogLike1"
      ]
    },
    {
      "page": "make_Dummy",
      "title": "Create Dummy Variables",
      "topics": [
        "make_Dummy"
      ]
    },
    {
      "page": "makeMat",
      "title": "Create a matrix of given size filled with a constant value",
      "topics": [
        "makeMat"
      ]
    },
    {
      "page": "pdf_gomp",
      "title": "Compute the PDF of the Gompertz Distribution",
      "topics": [
        "pdf_gomp"
      ]
    }
  ],
  "_readme": "https://github.com/cran/cmpp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cmprsk",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.574031267727719,
  "_indexed": true,
  "_nocasepkg": "cmpp",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/46ca26e4d48ba6c4abd916db330cf626815d3af73c74ff95f24563cf3764e6e1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/6ab30161d948b1eded90800a2bc6042cd1e8ea8fbc03e4b496844549211c9d22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/7360ab8966ee082903adf99eeb70a802f3f9fb7c631f8c31c87d37f07b389623",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/719869b56edd4781db28e4bc09c41d1df761771fe168a8caa6820b1130c35787",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:31.000Z",
      "arch": "emscripten",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/9d7779cd3e754cbbc9e81d79dbf7ec06f4b632e2e09dd03b89b3359135caaac6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-24T07:40:57.000Z",
      "arch": "aarch64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/9afbdc7bba1a46ea9a4657f546fa9449f36927ce4e86362c90238ebd16aa1aaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-24T07:39:22.000Z",
      "arch": "x86_64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/95ec6324ef1ee2c43ac5895dc181f87a09b6a2b8f6b79c3e7a1c0ccd4ddb7f21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-24T07:41:55.000Z",
      "arch": "aarch64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/a2f275d8f947433bb84059b1b33216e61b7ed273aaa2a726eefbb23b2c7c7e14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-24T07:39:35.000Z",
      "arch": "x86_64",
      "commit": "3fe937a212c27d2aebd637645817453a957a3e85",
      "fileid": "https://r2.ropensci.org/088de0a2704090412212911ad2e25754a7687a2d439ce5eccaf9830660851c39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970387088"
    }
  ]
}