{
  "_id": "6a1f0becb401979e7341ca4c",
  "Package": "YPmodelPhreg",
  "Type": "Package",
  "Title": "The Short-Term and Long-Term Hazard Ratio Model with\nProportional Adjustment",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(given = \"Daewoo\", family = \"Pak\", email = \"dpak@yonsei.ac.kr\", role = c(\"aut\", \"cre\")),\nperson(given = \"Song\", family = \"Yang\", email = \"yangso@nhlbi.nih.gov\", role = c(\"aut\"))\n)",
  "Maintainer": "Daewoo Pak <dpak@yonsei.ac.kr>",
  "Description": "Provides covariate-adjusted comparison of two groups of\nright censored data, where the binary group variable has\nseparate short-term and long-term effects on the hazard\nfunction, while effects of covariates such as age, blood\npressure, etc. are proportional on the hazard. The model was\nstudied in Yang and Prentice (2015) <doi:10.1002/sim.6453> and\nit extends the two sample version of the short-term and\nlong-term hazard ratio model proposed in Yang and Prentice\n(2005) <doi:10.1093/biomet/92.1.1>. The model extends the usual\nCox proportional hazards model to allow more flexible hazard\nratio patterns, such as gradual onset of effect, diminishing\neffect, and crossing hazard or survival functions. This package\nprovides the following: 1) point estimates and confidence\nintervals for model parameters; 2) point estimate and\nconfidence interval of the average hazard ratio; and 3) plots\nof estimated hazard ratio function with point-wise and\nsimultaneous confidence bands.",
  "License": "GPL (>= 2)",
  "Author": "Daewoo Pak [aut, cre], Song Yang [aut]",
  "RoxygenNote": "7.2.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 09:43:39 UTC",
    "User": "root"
  },
  "Repository": "https://daewoopak.r-universe.dev",
  "Date/Publication": "2023-07-05 16:33:08 UTC",
  "RemoteUrl": "https://github.com/cran/YPmodelPhreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
  "MD5sum": "9d516438cf16982017c41cef4e08ef03",
  "_user": "daewoopak",
  "_type": "src",
  "_file": "YPmodelPhreg_1.0.0.tar.gz",
  "_fileid": "6310247ee8e673c6644eb5e93cc3c3f1a4cdeeb32600fe2d18b78fc54fca9a3c",
  "_filesize": 137922,
  "_sha256": "6310247ee8e673c6644eb5e93cc3c3f1a4cdeeb32600fe2d18b78fc54fca9a3c",
  "_created": "2026-05-17T09:43:39.000Z",
  "_published": "2026-06-02T16:59:24.256Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79126575655,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041339660"
    },
    {
      "job": 79126576027,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041340002"
    },
    {
      "job": 79126575919,
      "time": 79,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041335202"
    },
    {
      "job": 79126575748,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041337054"
    },
    {
      "job": 79126575013,
      "time": 131,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041326235"
    },
    {
      "job": 79126574966,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364453951"
    },
    {
      "job": 79126575657,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041336270"
    },
    {
      "job": 79126575943,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041336701"
    },
    {
      "job": 79126575613,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041335762"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/YPmodelPhreg",
  "_commit": {
    "id": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
    "author": "Daewoo Pak <dpak@yonsei.ac.kr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1688574788
  },
  "_maintainer": {
    "name": "Daewoo Pak",
    "email": "dpak@yonsei.ac.kr",
    "login": "daewoopak",
    "description": "",
    "uuid": 89290503
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "survival",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "daewoopak",
      "count": 1,
      "uuid": 89290503
    }
  ],
  "_userbio": {
    "uuid": 89290503,
    "type": "user",
    "name": "daewoopak"
  },
  "_downloads": {
    "count": 159,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/YPmodelPhreg"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/YPmodelPhreg.html",
    "manual.pdf"
  ],
  "_realowner": "daewoopak",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-07-05"
    }
  ],
  "_exports": [
    "fn_est_ypmodel0",
    "fn_est_ypmodelx",
    "fn_est0_ypmodel0",
    "fn_hrci",
    "fn_summ",
    "fn_u",
    "fn_uh",
    "fn_uhx",
    "fn_ux",
    "plot.ypreg",
    "print.ypreg",
    "ypreg",
    "ypreg.default"
  ],
  "_datasets": [
    {
      "name": "colonexample",
      "title": "An example from Chemotherapy for Stage B/C colon cancer",
      "object": "colonexample",
      "file": "colonexample.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "event",
        "group",
        "X1",
        "X2",
        "X3"
      ],
      "rows": 619,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "YPmodelPhreg-package",
      "title": "The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment",
      "topics": [
        "YPmodelPhreg-package"
      ]
    },
    {
      "page": "colonexample",
      "title": "An example from Chemotherapy for Stage B/C colon cancer",
      "topics": [
        "colonexample"
      ]
    },
    {
      "page": "ypreg-YPmodelPhreg",
      "title": "Internal functions for the YPmodelPhreg package",
      "topics": [
        "fn_est0_ypmodel0",
        "fn_est_ypmodel0",
        "fn_est_ypmodelx",
        "fn_hrci",
        "fn_summ",
        "fn_u",
        "fn_uh",
        "fn_uhx",
        "fn_ux",
        "YPmodelPhreg-internal"
      ]
    },
    {
      "page": "ypreg",
      "title": "Fit a short-term and long-term hazard ratio model with proportional adjustment",
      "topics": [
        "plot.ypreg",
        "print.ypreg",
        "ypreg",
        "ypreg.default"
      ]
    }
  ],
  "_readme": "https://github.com/cran/YPmodelPhreg/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "survival"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "ypmodelphreg",
  "_universes": [
    "daewoopak"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T09:45:24.000Z",
      "distro": "noble",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "0431f35efb6c4ab98f583df09e0462cee6445ea445fdb3bfccbf5c0d93529708",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T09:45:28.000Z",
      "distro": "noble",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "21ee4cac9cdac2a6cd0c682dfc19c64cb3adb3e5e1737f198d387f7eb581133f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T09:44:56.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "693e650774def8e69a90095121b4f802a5ea62b2bf9914e648ec58c350087950",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T09:45:10.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "cbdec429e4fd6422709c963b43016bb08ec07787c62dbcc8e539aa886f08ca6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T09:44:51.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "c72776f56ca59be3b4adae422d120e2891012b16c2085dd7f2ea965c6a52b5fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T09:44:57.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "ba1303ecccf709e7d43d0944a0baa25f45ba02e7993ae29eff1044b5153afaa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T09:44:44.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "7cdd666cad53f2aa40f0d0e859239f35640fbcaae383774aad88e19e678d3780",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T16:59:07.000Z",
      "commit": "ada9c9257c4e265a590909fa823bfc65ba0fa4b7",
      "fileid": "e21528e22ee41aace86c1cb8c82a49355db03f9c4f258f55c75faebf1f1c7788",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daewoopak/actions/runs/25987380693"
    }
  ]
}