{
  "_id": "6aafa3273d719c1f840800a2",
  "Package": "ncpen",
  "Type": "Package",
  "Title": "Unified Algorithm for Non-Convex Penalized Estimation for\nGeneralized Linear Models",
  "Version": "1.0.1",
  "Date": "2026-08-10",
  "Authors@R": "c(person(\"Dongshin\", \"Kim\", email = \"dongshin.kim@outlook.com\",role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Sunghoon\", \"Kwon\", email = \"shkwon0522@gmail.com\",role = c(\"aut\", \"cph\")),\nperson(\"Sangin\", \"Lee\", email = \"sanginlee44@gmail.com\",role = c(\"aut\", \"cph\")))",
  "Description": "An efficient unified nonconvex penalized estimation\nalgorithm for Gaussian (linear), binomial Logit (logistic),\nPoisson, multinomial Logit, and Cox proportional hazard\nregression models. The unified algorithm is implemented based\non the convex concave procedure and the algorithm can be\napplied to most of the existing nonconvex penalties. The\nalgorithm also supports convex penalty: least absolute\nshrinkage and selection operator (LASSO). Supported nonconvex\npenalties include smoothly clipped absolute deviation (SCAD),\nminimax concave penalty (MCP), truncated LASSO penalty (TLP),\nclipped LASSO (CLASSO), sparse ridge (SRIDGE), modified bridge\n(MBRIDGE) and modified log (MLOG). For high-dimensional data\n(data set with many variables), the algorithm selects relevant\nvariables producing a parsimonious regression model. Kim, D.,\nLee, S. and Kwon, S. (2021) <doi:10.32614/RJ-2021-003>, Lee,\nS., Kwon, S. and Kim, Y. (2016)\n<doi:10.1016/j.csda.2015.08.019>, Kwon, S., Lee, S. and Kim, Y.\n(2015) <doi:10.1016/j.csda.2015.07.001>. (This research is\nfunded by Julian Virtue Professorship from Center for Applied\nResearch at Pepperdine Graziadio Business School and the\nNational Research Foundation of Korea.)",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/zeemkr/ncpen",
  "BugReports": "https://github.com/zeemkr/ncpen/issues",
  "Language": "en-US",
  "Config/roxygen2/version": "8.1.0",
  "Encoding": "UTF-8",
  "Repository": "https://zeemkr.r-universe.dev",
  "Date/Publication": "2026-08-19 20:28:52 UTC",
  "RemoteUrl": "https://github.com/zeemkr/ncpen",
  "RemoteRef": "HEAD",
  "RemoteSha": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-20 09:03:05 UTC",
    "User": "root"
  },
  "Author": "Dongshin Kim [aut, cre, cph],\nSunghoon Kwon [aut, cph],\nSangin Lee [aut, cph]",
  "Maintainer": "Dongshin Kim <dongshin.kim@outlook.com>",
  "_user": "zeemkr",
  "_type": "src",
  "_file": "ncpen_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/550afceafb3b21630324da09e21172e5d279a30663ac3581a6f2851675dce4d5",
  "_filesize": 261596,
  "_sha256": "550afceafb3b21630324da09e21172e5d279a30663ac3581a6f2851675dce4d5",
  "_expires": "2026-12-29T09:11:01.000Z",
  "_created": "2026-09-20T09:03:05.000Z",
  "_published": "2026-09-20T09:11:03.237Z",
  "_jobs": [
    {
      "job": 106053330198,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10602307657"
    },
    {
      "job": 106053330209,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10601843439"
    },
    {
      "job": 106053330215,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10602377548"
    },
    {
      "job": 106053330243,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10602956109"
    },
    {
      "job": 106053330197,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10602945625"
    },
    {
      "job": 106053330218,
      "time": 382,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10602880896"
    },
    {
      "job": 106053330263,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10601878445"
    },
    {
      "job": 106053330228,
      "time": 345,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10601833775"
    },
    {
      "job": 106052834422,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602142675"
    },
    {
      "job": 106053330170,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10602581969"
    },
    {
      "job": 106053330221,
      "time": 409,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10603000401"
    },
    {
      "job": 106053330259,
      "time": 145,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10602267591"
    },
    {
      "job": 106053330266,
      "time": 115,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10602417462"
    },
    {
      "job": 106053330208,
      "time": 358,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10602577219"
    },
    {
      "job": 106053330225,
      "time": 112,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10602825874"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449",
  "_status": "success",
  "_upstream": "https://github.com/zeemkr/ncpen",
  "_commit": {
    "id": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
    "author": "zeemkr <dkim8826@gmail.com>",
    "committer": "zeemkr <dkim8826@gmail.com>",
    "message": "v 1.0.1 update\n",
    "time": 1787171332
  },
  "_maintainer": {
    "name": "Dongshin Kim",
    "email": "dongshin.kim@outlook.com",
    "login": "zeemkr",
    "description": "",
    "uuid": 31938486
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.2",
      "role": "Imports"
    }
  ],
  "_owner": "zeemkr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-33",
      "n": 6
    },
    {
      "week": "2026-34",
      "n": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "binomial",
    "classo",
    "cox",
    "gaussian",
    "high-dimensional-data",
    "lasso",
    "linear",
    "mbridge",
    "mcp",
    "mlog",
    "multinomial",
    "nonconvex-penalties",
    "poisson",
    "scad",
    "sridge",
    "tlp",
    "openblas",
    "cpp"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "zeemkr",
      "count": 14,
      "uuid": 31938486
    }
  ],
  "_userbio": {
    "uuid": 31938486,
    "type": "user",
    "name": "zeemkr",
    "followers": 0
  },
  "_downloads": {
    "count": 301,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ncpen"
  },
  "_devurl": "https://github.com/zeemkr/ncpen",
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/ncpen.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/zeemkr/ncpen",
  "_realowner": "zeemkr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2018-02-21"
    },
    {
      "version": "1.0.0",
      "date": "2018-11-17"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-20"
    }
  ],
  "_exports": [
    "coef.cv.ncpen",
    "coef.ncpen",
    "control.ncpen",
    "cv.ncpen",
    "cv.ncpen.reg",
    "excluded",
    "fold.cv.ncpen",
    "gic.ncpen",
    "interact.data",
    "make.ncpen.data",
    "native_cpp_ncpen_fun_",
    "native_cpp_nr_fun_",
    "native_cpp_obj_fun_",
    "native_cpp_obj_grad_fun_",
    "native_cpp_obj_hess_fun_",
    "native_cpp_p_ncpen_fun_",
    "native_cpp_pen_fun_",
    "native_cpp_pen_grad_fun_",
    "native_cpp_qlasso_fun_",
    "native_cpp_set_dev_mode_",
    "ncpen",
    "ncpen.reg",
    "plot.cv.ncpen",
    "plot.ncpen",
    "power.data",
    "predict.ncpen",
    "sam.gen.ncpen",
    "same.base",
    "to.indicators",
    "to.ncpen.x.mat"
  ],
  "_help": [
    {
      "page": "coef.cv.ncpen",
      "title": "coef.cv.ncpen: extracts the optimal coefficients from 'cv.ncpen'.",
      "topics": [
        "coef.cv.ncpen"
      ]
    },
    {
      "page": "coef.ncpen",
      "title": "coef.ncpen: extract the coefficients from an 'ncpen' object",
      "topics": [
        "coef.ncpen"
      ]
    },
    {
      "page": "control.ncpen",
      "title": "control.ncpen: do preliminary works for 'ncpen'.",
      "topics": [
        "control.ncpen"
      ]
    },
    {
      "page": "cv.ncpen",
      "title": "cv.ncpen: cross validation for 'ncpen'",
      "topics": [
        "cv.ncpen"
      ]
    },
    {
      "page": "cv.ncpen.reg",
      "title": "cv.ncpen: cross validation for 'ncpen'",
      "topics": [
        "cv.ncpen.reg"
      ]
    },
    {
      "page": "excluded",
      "title": "Check whether a pair should be excluded from interactions.",
      "topics": [
        "excluded"
      ]
    },
    {
      "page": "fold.cv.ncpen",
      "title": "fold.cv.ncpen: extracts fold ids for 'cv.ncpen'.",
      "topics": [
        "fold.cv.ncpen"
      ]
    },
    {
      "page": "gic.ncpen",
      "title": "gic.ncpen: compute the generalized information criterion (GIC) for the selection of lambda",
      "topics": [
        "gic.ncpen"
      ]
    },
    {
      "page": "interact.data",
      "title": "Construct Interaction Matrix",
      "topics": [
        "interact.data"
      ]
    },
    {
      "page": "make.ncpen.data",
      "title": "Create ncpen Data Structure Using a Formula",
      "topics": [
        "make.ncpen.data"
      ]
    },
    {
      "page": "native_cpp_ncpen_fun_",
      "title": "Native ncpen function.",
      "topics": [
        "native_cpp_ncpen_fun_"
      ]
    },
    {
      "page": "native_cpp_nr_fun_",
      "title": "N/A.",
      "topics": [
        "native_cpp_nr_fun_"
      ]
    },
    {
      "page": "native_cpp_obj_fun_",
      "title": "Native object function.",
      "topics": [
        "native_cpp_obj_fun_"
      ]
    },
    {
      "page": "native_cpp_obj_grad_fun_",
      "title": "Native object gradient function.",
      "topics": [
        "native_cpp_obj_grad_fun_"
      ]
    },
    {
      "page": "native_cpp_obj_hess_fun_",
      "title": "Native object Hessian function.",
      "topics": [
        "native_cpp_obj_hess_fun_"
      ]
    },
    {
      "page": "native_cpp_p_ncpen_fun_",
      "title": "Native point ncpen function.",
      "topics": [
        "native_cpp_p_ncpen_fun_"
      ]
    },
    {
      "page": "native_cpp_pen_fun_",
      "title": "Native Penalty function.",
      "topics": [
        "native_cpp_pen_fun_"
      ]
    },
    {
      "page": "native_cpp_pen_grad_fun_",
      "title": "Native Penalty Gradient function.",
      "topics": [
        "native_cpp_pen_grad_fun_"
      ]
    },
    {
      "page": "native_cpp_qlasso_fun_",
      "title": "Native QLASSO function.",
      "topics": [
        "native_cpp_qlasso_fun_"
      ]
    },
    {
      "page": "native_cpp_set_dev_mode_",
      "title": "N/A.",
      "topics": [
        "native_cpp_set_dev_mode_"
      ]
    },
    {
      "page": "ncpen",
      "title": "ncpen: nonconvex penalized estimation",
      "topics": [
        "ncpen"
      ]
    },
    {
      "page": "ncpen.reg",
      "title": "ncpen.reg: nonconvex penalized estimation",
      "topics": [
        "ncpen.reg"
      ]
    },
    {
      "page": "plot.cv.ncpen",
      "title": "plot.cv.ncpen: plot cross-validation error curve.",
      "topics": [
        "plot.cv.ncpen"
      ]
    },
    {
      "page": "plot.ncpen",
      "title": "plot.ncpen: plots coefficients from an 'ncpen' object.",
      "topics": [
        "plot.ncpen"
      ]
    },
    {
      "page": "power.data",
      "title": "Power Data",
      "topics": [
        "power.data"
      ]
    },
    {
      "page": "predict.ncpen",
      "title": "predict.ncpen: make predictions from an 'ncpen' object",
      "topics": [
        "predict.ncpen"
      ]
    },
    {
      "page": "sam.gen.ncpen",
      "title": "sam.gen.ncpen: generate a simulated dataset.",
      "topics": [
        "sam.gen.ncpen"
      ]
    },
    {
      "page": "same.base",
      "title": "Check whether column names are derivation of a same base.",
      "topics": [
        "same.base"
      ]
    },
    {
      "page": "to.indicators",
      "title": "Construct Indicator Matrix",
      "topics": [
        "to.indicators"
      ]
    },
    {
      "page": "to.ncpen.x.mat",
      "title": "Convert a 'data.frame' to a 'ncpen' usable 'matrix'.",
      "topics": [
        "to.ncpen.x.mat"
      ]
    }
  ],
  "_readme": "https://github.com/zeemkr/ncpen/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": 4.225309281725863,
  "_indexed": true,
  "_nocasepkg": "ncpen",
  "_universes": [
    "zeemkr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/71a6f645b50921eed67d876cf4df68e85c322b8531d74168418208c44eef7ddb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/8884df0898902105526931ae762bdf55d1c1aeceb294be019f028a4960e9643d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/f504d9fae0a5ebd1ab2cfbfc0d7bb417635b1779092bde5d1459ff232b644e2d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/83903da5f678af8bba1a110deae0f21eee0064645560dd86ce225f9bd5c2358d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-20T09:06:04.000Z",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/722e4a37d16fe3e88a1783490fe8fecce0b41b83728e338f00a6555e924a6777",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-20T09:07:59.000Z",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/2d78244d77c934f7bab36dcb85239e8c7a5e17d1b0dc0be96a5909897c7758e6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:59.000Z",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/5e937100e1bd4b315ce373e39be0e725b94924db480e740c7de388a964043cf5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-20T09:06:56.000Z",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/615a1bbb7418e4c2863c00c41b5bb088100d116e7c99090c95622c482f82fa0e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-09-20T09:05:25.000Z",
      "arch": "emscripten",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/44d7f6fd1479bc4e93c543cf0cdb863f5f0d9dd6517477898232c65da874d36d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-20T09:09:24.000Z",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/3fc00c50ea447ed59fc99299b23de7b015cd909746b565561f6554a2e48f063b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-20T09:04:33.000Z",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/2a3236c0dbb137d8d16d2599de271dbc5a1ba095d2c14884a1221eb2317a5812",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-20T09:04:32.000Z",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/63daf7a517623308cc8521aee503576fd104b3d7352b45d14f380436c70fb682",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-20T09:08:24.000Z",
      "arch": "aarch64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/d210d0af12bd4f744c4d6581d64f0f2696dcf06fb5d94f159180880f4964319b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-20T09:04:35.000Z",
      "arch": "x86_64",
      "commit": "83f7d1254887f8f2c5e8d20f7ebc261c994ba13a",
      "fileid": "https://r2.ropensci.org/4b8de556ff21a5a2600f595e0ae14e5c449bd561fff31c6cdfd0c8d6549c796a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/zeemkr/actions/runs/35501059449"
    }
  ]
}