{
  "_id": "6a104043acfb0bcc41c9d0b9",
  "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-05-11 08:20:49 UTC",
    "User": "root"
  },
  "Author": "Yifan Yang [aut, cre, cph],\nMai Zhou [aut]",
  "MD5sum": "c8162d332994a11de01972c650f0bd5b",
  "_user": "yfyang86",
  "_type": "src",
  "_file": "kmc_0.4-3.tar.gz",
  "_fileid": "ad439462e5663a887d59811633891535b1a8a970c264de401b346065974fd4de",
  "_filesize": 766324,
  "_sha256": "ad439462e5663a887d59811633891535b1a8a970c264de401b346065974fd4de",
  "_created": "2026-05-11T08:20:49.000Z",
  "_published": "2026-05-22T11:38:43.515Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77371993576,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6913617433"
    },
    {
      "job": 77371993813,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6913619365"
    },
    {
      "job": 77371993774,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6913612701"
    },
    {
      "job": 77371993792,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6913622239"
    },
    {
      "job": 77371993898,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6913610893"
    },
    {
      "job": 77371993894,
      "time": 176,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6913629918"
    },
    {
      "job": 77371993800,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6913615154"
    },
    {
      "job": 77371993512,
      "time": 347,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6913688993"
    },
    {
      "job": 77371993091,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913569653"
    },
    {
      "job": 77371993182,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159578060"
    },
    {
      "job": 77371993807,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6913614619"
    },
    {
      "job": 77371993746,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6913611754"
    },
    {
      "job": 77371993515,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6913609139"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 276,
    "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.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kmc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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-05-11T08:23:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "801bd5bfe981aefd947a9a0136b44c70883ed19594475c91ff0ddaa14af994af",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-05-11T08:23:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "96503ad13fe7d1aa78388d918f0d74dda1a6cebda04ca7882721c2dbf54020ad",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "7b934071a3bb61907b200d0c542630c4840bed6bf14165ff4fa9921f059ab713",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4-3",
      "date": "2026-05-11T08:23:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "3032b250717d4d19b3dc09e9a37370e358f1f1db4f92da18d1057a7f29d35604",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:43.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "da6b77dfa23ce7adffa5f1721dfcd279c6df26a67d2be5b25f5a0899b50d2766",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-05-11T08:23:19.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "4a5f8d30bddcd5d1536c9d23023648ecffdf97dba6150453f1582b0913f65cb7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:49.000Z",
      "arch": "aarch64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "c5530be7b2c8d612a9234a2355e9874c0521da9d61e652432cf1e47945b2223f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4-3",
      "date": "2026-05-11T08:24:41.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "0fb402e3e11d97504798cf57f77a00175974568988c2c4f716f94d419f94d809",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:17.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "9bef7daf804319cb7431cbc23a81859ef67cb1d2565efdbe815b4a363caed856",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:10.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "2749e41089923c0658ce4666452f333a434d82e4dbc0db5b232c694a50314305",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4-3",
      "date": "2026-05-11T08:22:08.000Z",
      "arch": "x86_64",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "d6d8be61326993d3410ecdc80b6083dc5280ba4716217e08476e872c9a8a792a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4-3",
      "date": "2026-05-22T11:38:14.000Z",
      "arch": "emscripten",
      "commit": "308cb8e5b1934630cc7442a0f4cc88e60930b6da",
      "fileid": "a1442e694fa23905d24a10e4ef49eb8a20454b13603293461e0524e7aa7b23df",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yfyang86/actions/runs/25658574836"
    }
  ]
}