{
  "_id": "6ac75cfdde46216d5edcee93",
  "Package": "kmc",
  "Type": "Package",
  "Title": "Kaplan-Meier Estimator with Constraints for Right Censored Data\n-- a Recursive Computational Algorithm",
  "Version": "0.4-3",
  "Date": "2024-09-19",
  "Authors@R": "c(person(\"Yifan\", \"Yang\",  role = c(\"aut\", \"cre\",\"cph\"),\nemail = \"yfyang.86@hotmail.com\"),\nperson(\"Mai\", \"Zhou\", role = \"aut\"))",
  "Maintainer": "Yifan Yang <yfyang.86@hotmail.com>",
  "Description": "Given constraints for right censored data, we use a\nrecursive computational algorithm to calculate the the\n\"constrained\" Kaplan-Meier estimator. The constraint is assumed\ngiven in linear estimating equations or mean functions. We also\nillustrate how this leads to the empirical likelihood ratio\ntest with right censored data and accelerated failure time\nmodel with given coefficients. EM algorithm from emplik package\nis used to get the initial value. The properties and\nperformance of the EM algorithm is discussed in Mai Zhou and\nYifan Yang (2015)<doi: 10.1007/s00180-015-0567-9> and Mai Zhou\nand Yifan Yang (2017) <doi: 10.1002/wics.1400>. More\napplications could be found in Mai Zhou (2015) <doi:\n10.1201/b18598>.",
  "URL": "https://github.com/yfyang86/kmc/",
  "License": "LGPL-3",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Repository": "https://yfyang86.r-universe.dev",
  "Date/Publication": "2024-09-19 07:06:15 UTC",
  "RemoteUrl": "https://github.com/yfyang86/kmc",
  "RemoteRef": "HEAD",
  "RemoteSha": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
  "Packaged": {
    "Date": "2026-10-08 08:53:20 UTC",
    "User": "root"
  },
  "Author": "Yifan Yang [aut, cre, cph],\nMai Zhou [aut]",
  "_user": "yfyang86",
  "_type": "src",
  "_file": "kmc_0.4-3.tar.gz",
  "_fileid": "https://r2.ropensci.org/0b48d31c7666fda16b5bebc31214735519ff5c741177589cacc2a1793d2385e0",
  "_filesize": 765228,
  "_sha256": "0b48d31c7666fda16b5bebc31214735519ff5c741177589cacc2a1793d2385e0",
  "_expires": "2027-01-16T09:06:03.000Z",
  "_created": "2026-10-08T08:53:20.000Z",
  "_published": "2026-10-08T09:06:05.514Z",
  "_buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113230178618,
      "time": 101,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11538603940"
    },
    {
      "job": 113230178673,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11539305297"
    },
    {
      "job": 113230178700,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11538354084"
    },
    {
      "job": 113230178715,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11539130422"
    },
    {
      "job": 113230178875,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11539372102"
    },
    {
      "job": 113230178914,
      "time": 234,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11539215936"
    },
    {
      "job": 113230178656,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11538104799"
    },
    {
      "job": 113230178576,
      "time": 463,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11538778471"
    },
    {
      "job": 113229179774,
      "time": 159,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11538114986"
    },
    {
      "job": 113230178807,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11538727989"
    },
    {
      "job": 113230178645,
      "time": 308,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11537989982"
    },
    {
      "job": 113230178778,
      "time": 155,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11539395166"
    },
    {
      "job": 113230178766,
      "time": 117,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11537899489"
    },
    {
      "job": 113230178696,
      "time": 338,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11538354763"
    },
    {
      "job": 113230178731,
      "time": 127,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11538762499"
    }
  ],
  "_upstream": "https://github.com/yfyang86/kmc",
  "_commit": {
    "id": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
    "author": "Yifan <yfyang.86@gmail.com>",
    "committer": "Yifan <yfyang.86@gmail.com>",
    "message": "Update the Readme file.\n",
    "time": 1726729575
  },
  "_maintainer": {
    "name": "Yifan Yang",
    "email": "yfyang.86@hotmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "compiler",
      "role": "Depends"
    },
    {
      "package": "rootSolve",
      "role": "Depends"
    },
    {
      "package": "emplik",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "yfyang86",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "yfyang86",
      "count": 50,
      "uuid": 1158522
    },
    {
      "user": "nicole-chen",
      "count": 1,
      "uuid": 7142515
    }
  ],
  "_userbio": {
    "uuid": 1158522,
    "type": "user",
    "name": "Yifan",
    "followers": 32
  },
  "_downloads": {
    "count": 388,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kmc"
  },
  "_mentions": 8,
  "_devurl": "https://github.com/yfyang86/kmc",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kmc.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yfyang86/kmc",
  "_realowner": "yfyang86",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-2",
      "date": "2013-12-25"
    },
    {
      "version": "0.2-2",
      "date": "2015-11-23"
    },
    {
      "version": "0.2-3",
      "date": "2019-04-24"
    },
    {
      "version": "0.2-4",
      "date": "2020-03-16"
    },
    {
      "version": "0.4-2",
      "date": "2022-11-22"
    }
  ],
  "_exports": [
    "kmc.bjtest",
    "kmc.solve",
    "kmc.solvelite"
  ],
  "_help": [
    {
      "page": "check_G_mat",
      "title": "Check the contraints of KMC",
      "topics": [
        "check_G_mat"
      ]
    },
    {
      "page": "kmc.bjtest",
      "title": "Calculate the NPMLE with constriants for accelerated failure time model with given coefficients.",
      "topics": [
        "kmc.bjtest"
      ]
    },
    {
      "page": "kmc.clean",
      "title": "Perform Data Clean for the kmc Algorithm",
      "topics": [
        "kmc.clean"
      ]
    },
    {
      "page": "kmc.solve",
      "title": "Calculate NPMLE with constriants for right censored data",
      "topics": [
        "kmc.solve"
      ]
    },
    {
      "page": "kmc.solvelite",
      "title": "Calculate NPMLE with constriants for right censored data",
      "topics": [
        "kmc.solve"
      ]
    },
    {
      "page": "plotkmc",
      "title": "Plot the contour plot of log-likelihood around the H0 (dim=2).",
      "topics": [
        "plotkmc2D"
      ]
    }
  ],
  "_readme": "https://github.com/yfyang86/kmc/raw/HEAD/README.md",
  "_rundeps": [
    "emplik",
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "quantreg",
    "Rcpp",
    "rootSolve",
    "SparseM",
    "survival"
  ],
  "_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": 3.9030899869919438,
  "_indexed": true,
  "_nocasepkg": "kmc",
  "_universes": [
    "yfyang86"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-10-08T08:54:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/dfc59ef04a525b72f7fc46eb9289dcbf33d07abb3e8c6594a3627983692927e3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-10-08T08:55:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/3d2284aa46c1970f82d76f8211d629be1fb4418f2010c2cf25126eb4311eb10a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-10-08T08:55:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/379f6a6fa5005a8a7fdfcc531156b059f518238bdab62ac9688b975450c08f41",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-10-08T08:55:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/d75a1d695ff3b6cf171d6a26207c224cc26b4de27f20fed5fe58c9215a568271",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-10-08T09:05:16.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/fef97dd4ad02f0dc5d3232c83f215a2a7c9e310d1a4f7176ca1de409a36e89f7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-10-08T08:57:50.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/0cf1cb31ec8acf8be2028edd4350dbba459c7da27aa113bb2b9a923322d7a13f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-10-08T08:56:27.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/22f95334136d3618bf04fc956915405650e070928ef1e7ec72c1b4ebbb742b88",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-10-08T08:59:37.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/f568d9936fd3e52f66cf285a135cbc43e1905c1768bc9a699c023286fd03a431",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4-3",
      "date": "2026-10-08T08:55:09.000Z",
      "arch": "emscripten",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/e84067f0b625c818c0c1673b9e83f963ce70c512b6fb342f9462f71f56a9e7af",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-10-08T08:58:03.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/3d88b8fce56c0671b24a266077ed06cebd023582df311aa345bfe0f5637e1555",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-10-08T08:54:33.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/daad22581af1fb9060735ec1d5ebb696e70b5095c2bb11c9871f8942be07d266",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-10-08T08:54:36.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/cb3f7ac78e5306b26fc9dd1ebee67a1398434e9f11b3473e0a737c9ea069458e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-10-08T08:58:34.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/aa051187509ad63b96df0381d91e7e61131edb008d09301c66248d553e6bb2b1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-10-08T08:54:44.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "https://r2.ropensci.org/f1b4b2295e13ceef9d6618fe20c5a8bfd5502bdaa67c03dc3bfce0d102f836c4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/37752547810"
    }
  ]
}