{
  "_id": "6a196bf8acfb0bcc41dea34e",
  "Package": "WCE",
  "Title": "Weighted Cumulative Exposure Models",
  "Version": "1.0.4",
  "Authors@R": "c(person(given = \"Marie-Pierre\", family = \"Sylvestre\", role = c(\"aut\", \"cre\"), email = \"marie-pierre.sylvestre@umontreal.ca\", comment = c(ORCID = \"0000-0001-5803-4615\")),\nperson(given = \"Marie-Eve\", family = \"Beauchamp\", role =  \"ctb\"), person(given = \"Ryan Patrick\", family = \"Kyle\", role =  \"ctb\"),\nperson(given = \"Michal\", family = \"Abrahamowicz\", role =  \"ctb\"))",
  "Description": "A flexible method for modeling cumulative effects of\ntime-varying exposures, weighted according to their relative\nproximity in time, and represented by time-dependent\ncovariates. The current implementation estimates the weight\nfunction in the Cox proportional hazards model. The function\nthat assigns weights to doses taken in the past is estimated\nusing cubic regression splines.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 10:32:55 UTC",
    "User": "root"
  },
  "Author": "Marie-Pierre Sylvestre [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5803-4615>), Marie-Eve Beauchamp\n[ctb], Ryan Patrick Kyle [ctb], Michal Abrahamowicz [ctb]",
  "Maintainer": "Marie-Pierre Sylvestre\n<marie-pierre.sylvestre@umontreal.ca>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-01 17:31:29 UTC",
  "RemoteUrl": "https://github.com/cran/WCE",
  "RemoteRef": "HEAD",
  "RemoteSha": "dad6372a878aada90debc39ab9025f1ef2827316",
  "MD5sum": "750358d96b3f9c63e0c9fbe4f2718335",
  "_user": "cran",
  "_type": "src",
  "_file": "WCE_1.0.4.tar.gz",
  "_fileid": "8f7acfe2d3b69b333bcfe88d749f4642d4eda4c91ab263ca85ef735aa851a071",
  "_filesize": 193555,
  "_sha256": "8f7acfe2d3b69b333bcfe88d749f4642d4eda4c91ab263ca85ef735aa851a071",
  "_created": "2026-05-29T10:32:55.000Z",
  "_published": "2026-05-29T10:35:36.652Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78484047636,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7288693836"
    },
    {
      "job": 78484047605,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288694349"
    },
    {
      "job": 78483670169,
      "time": 161,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288657719"
    },
    {
      "job": 78484047634,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288685759"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26632210069",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/WCE",
  "_commit": {
    "id": "dad6372a878aada90debc39ab9025f1ef2827316",
    "author": "Marie-Pierre Sylvestre <marie-pierre.sylvestre@umontreal.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1756747889
  },
  "_maintainer": {
    "name": "Marie-Pierre Sylvestre",
    "email": "marie-pierre.sylvestre@umontreal.ca",
    "orcid": "0000-0001-5803-4615"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.4",
      "date": "2025-09-01"
    }
  ],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 143,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WCE"
  },
  "_mentions": 1,
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/WCE.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-01-13"
    },
    {
      "version": "1.0.1",
      "date": "2018-07-04"
    },
    {
      "version": "1.0.2",
      "date": "2018-08-08"
    },
    {
      "version": "1.0.3",
      "date": "2024-02-15"
    },
    {
      "version": "1.0.4",
      "date": "2025-09-01"
    }
  ],
  "_exports": [
    "checkWCE",
    "HR.WCE",
    "knotsWCE",
    "WCE"
  ],
  "_datasets": [
    {
      "name": "drugdata",
      "title": "Simulated dataset to illustrate the use of WCE models",
      "object": "drugdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "Event",
        "Start",
        "Stop",
        "sex",
        "age",
        "dose"
      ],
      "rows": 77038,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "checkWCE",
      "title": "Verify that the arguments passed to the WCE function are in correct format",
      "topics": [
        "checkWCE"
      ]
    },
    {
      "page": "coef.WCE",
      "title": "Obtain estimated coefficients from 'WCE' object",
      "topics": [
        "coef.WCE"
      ]
    },
    {
      "page": "drugdata",
      "title": "Simulated dataset to illustrate the use of WCE models",
      "topics": [
        "drugdata"
      ]
    },
    {
      "page": "HR.WCE",
      "title": "Obtain a hazard ratio (HR) from a WCE Cox proportional hazards model",
      "topics": [
        "HR.WCE"
      ]
    },
    {
      "page": "knotsWCE",
      "title": "Obtain the placement of the knots used for splines in WCE models",
      "topics": [
        "knotsWCE"
      ]
    },
    {
      "page": "plot.WCE",
      "title": "Plot of the weight function(s) estimated by 'WCE'",
      "topics": [
        "plot.WCE"
      ]
    },
    {
      "page": "summary.WCE",
      "title": "Summarize the results of a WCE object",
      "topics": [
        "summary.WCE"
      ]
    },
    {
      "page": "vcov.WCE",
      "title": "Obtain variance-covariance matrix from WCE models",
      "topics": [
        "vcov.WCE"
      ]
    },
    {
      "page": "WCE",
      "title": "Fit weighted cumulative exposure models",
      "topics": [
        "WCE"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "plyr",
    "Rcpp",
    "survival"
  ],
  "_score": 1.255272505103306,
  "_indexed": true,
  "_nocasepkg": "wce",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-29T10:34:46.000Z",
      "distro": "noble",
      "commit": "dad6372a878aada90debc39ab9025f1ef2827316",
      "fileid": "2a9338beeda4240feb4a35a318a54f11e6d2625609971108ff5bd1f57e8cf156",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26632210069"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-29T10:34:45.000Z",
      "distro": "noble",
      "commit": "dad6372a878aada90debc39ab9025f1ef2827316",
      "fileid": "7d97916355ff3dd7fb4111b406519bc03a380d7487d6e9e0ded829679f2189a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26632210069"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-29T10:34:50.000Z",
      "commit": "dad6372a878aada90debc39ab9025f1ef2827316",
      "fileid": "262999a0bd22c6a130cf94cd8d40b0432976e58b7b7a84aaf7fe3057689dde70",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26632210069"
    }
  ]
}