{
  "_id": "6ace06c2a14063b82c3aea2e",
  "Package": "nspmix",
  "Title": "Nonparametric and Semiparametric Mixture Estimation",
  "Version": "2.0-0",
  "Date": "2025-05-10",
  "Authors@R": "person(given = \"Yong\",\nfamily = \"Wang\",\nrole = c(\"aut\",\"cre\"),\nemail = \"yongwang@auckland.ac.nz\")",
  "Description": "Mainly for maximum likelihood estimation of nonparametric\nand semiparametric mixture models, but can also be used for\nfitting finite mixtures. The algorithms are developed in Wang\n(2007) <doi:10.1111/j.1467-9868.2007.00583.x> and Wang (2010)\n<doi:10.1007/s11222-009-9117-z>.",
  "Encoding": "UTF-8",
  "License": "GPL (>= 2)",
  "URL": "https://www.stat.auckland.ac.nz/~yongwang/",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 10:20:51 UTC",
    "User": "root"
  },
  "Author": "Yong Wang [aut, cre]",
  "Maintainer": "Yong Wang <yongwang@auckland.ac.nz>",
  "Repository": "https://yong3738.r-universe.dev",
  "Date/Publication": "2025-05-10 18:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/nspmix",
  "RemoteRef": "HEAD",
  "RemoteSha": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
  "_user": "yong3738",
  "_type": "src",
  "_file": "nspmix_2.0-0.tar.gz",
  "_fileid": "https://r2.ropensci.org/af73e5a1cdf697d1bd6490b8f94894f48fb4433fb5e80b7db4328a27193cd3ce",
  "_filesize": 314928,
  "_sha256": "af73e5a1cdf697d1bd6490b8f94894f48fb4433fb5e80b7db4328a27193cd3ce",
  "_expires": "2027-01-21T10:24:00.000Z",
  "_created": "2026-10-13T10:20:51.000Z",
  "_published": "2026-10-13T10:24:02.575Z",
  "_buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115247014533,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11803793057"
    },
    {
      "job": 115247014341,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803818400"
    },
    {
      "job": 115247014315,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11804426454"
    },
    {
      "job": 115247014333,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804442029"
    },
    {
      "job": 115245930093,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804212083"
    },
    {
      "job": 115247014361,
      "time": 69,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11804391926"
    },
    {
      "job": 115247014424,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11803967191"
    },
    {
      "job": 115247014446,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11804297019"
    },
    {
      "job": 115247014301,
      "time": 59,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804471783"
    }
  ],
  "_upstream": "https://github.com/cran/nspmix",
  "_commit": {
    "id": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
    "author": "Yong Wang <yongwang@auckland.ac.nz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0-0\n",
    "time": 1746902402
  },
  "_maintainer": {
    "name": "Yong Wang",
    "email": "yongwang@auckland.ac.nz",
    "login": "yong3738",
    "description": "",
    "uuid": 108646030
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "lsei",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yong3738",
      "count": 4,
      "uuid": 108646030
    }
  ],
  "_userbio": {
    "uuid": 108646030,
    "type": "user",
    "name": "Yong Wang",
    "followers": 1
  },
  "_downloads": {
    "count": 255,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nspmix"
  },
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/nspmix.html"
  ],
  "_realowner": "yong3738",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.3-0",
      "date": "2017-04-26"
    },
    {
      "version": "1.4-0",
      "date": "2017-10-24"
    },
    {
      "version": "1.5-0",
      "date": "2020-09-20"
    },
    {
      "version": "2.0-0",
      "date": "2025-05-10"
    }
  ],
  "_exports": [
    "cnm",
    "cnmap",
    "cnmms",
    "cnmpl",
    "cvps",
    "disc",
    "dmix",
    "dnpgeom",
    "dnpnbinom",
    "dnpnorm",
    "dnppois",
    "gridpoints",
    "hcnm",
    "initial",
    "initial0",
    "llex",
    "llexdb",
    "logd",
    "loglik",
    "mlogit",
    "npgeom",
    "npnbinom",
    "npnorm",
    "nppois",
    "plot.nspmix",
    "plotgrad",
    "pnpgeom",
    "pnpnbinom",
    "pnpnorm",
    "pnppois",
    "print.cvps",
    "rcvp",
    "rcvps",
    "rmlogit",
    "rnpgeom",
    "rnpnbinom",
    "rnpnorm",
    "rnppois",
    "suppspace",
    "valid",
    "weight",
    "whist"
  ],
  "_datasets": [
    {
      "name": "betablockers",
      "title": "Beta-blockers Data",
      "object": "betablockers",
      "file": "betablockers.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "group",
        "yi",
        "ni",
        "x"
      ],
      "rows": 44,
      "table": true,
      "tojson": true
    },
    {
      "name": "betablockers",
      "title": "Beta-blockers Data",
      "object": "betablokers",
      "file": "betablokers.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "center",
        "deaths",
        "total",
        "treatment"
      ],
      "rows": 44,
      "table": true,
      "tojson": true
    },
    {
      "name": "brca",
      "title": "Z-values of BRCA Data",
      "object": "brca",
      "file": "brca.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "lungcancer",
      "title": "Lung Cancer Data",
      "object": "lungcancer",
      "file": "lungcancer.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "study",
        "lungcancer",
        "size",
        "smoker"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    },
    {
      "name": "thai",
      "title": "Illness Spells and Frequencies of Thai Preschool Children",
      "object": "thai",
      "file": "thai.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "freq"
      ],
      "rows": 24,
      "table": true,
      "tojson": true
    },
    {
      "name": "toxo",
      "title": "Toxoplasmosis Data",
      "object": "toxo",
      "file": "toxo.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "city",
        "y",
        "n",
        "rainfall"
      ],
      "rows": 34,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "betablockers",
      "title": "Beta-blockers Data",
      "topics": [
        "betablockers"
      ]
    },
    {
      "page": "brca",
      "title": "Z-values of BRCA Data",
      "topics": [
        "brca"
      ]
    },
    {
      "page": "cnm",
      "title": "Maximum Likelihood Estimation of a Nonparametric Mixture Model",
      "topics": [
        "cnm"
      ]
    },
    {
      "page": "cnmms",
      "title": "Maximum Likelihood Estimation of a Semiparametric Mixture Model",
      "topics": [
        "cnmap",
        "cnmms",
        "cnmpl"
      ]
    },
    {
      "page": "cvps",
      "title": "Class 'cvps'",
      "topics": [
        "cvp",
        "cvps",
        "print.cvps",
        "rcvp",
        "rcvps"
      ]
    },
    {
      "page": "disc",
      "title": "Class 'disc'",
      "topics": [
        "disc"
      ]
    },
    {
      "page": "dmix",
      "title": "Density function of a mixture distribution",
      "topics": [
        "dmix"
      ]
    },
    {
      "page": "gridpoints",
      "title": "Grid points",
      "topics": [
        "gridpoints"
      ]
    },
    {
      "page": "hcnm",
      "title": "Hierarchical Constrained Newton method",
      "topics": [
        "hcnm"
      ]
    },
    {
      "page": "initial",
      "title": "Initialization for a nonparametric/semiparametric mixture",
      "topics": [
        "initial"
      ]
    },
    {
      "page": "initial0",
      "title": "Initialisation",
      "topics": [
        "initial0"
      ]
    },
    {
      "page": "llex",
      "title": "Log-likleihood Extra Term.",
      "topics": [
        "llex"
      ]
    },
    {
      "page": "llexdb",
      "title": "Derivative of the log-likleihood Extra Term",
      "topics": [
        "llexdb"
      ]
    },
    {
      "page": "logd",
      "title": "Log-density and its derivative values",
      "topics": [
        "logd"
      ]
    },
    {
      "page": "loglik",
      "title": "Log-likelihood value of a mixture",
      "topics": [
        "loglik"
      ]
    },
    {
      "page": "lungcancer",
      "title": "Lung Cancer Data",
      "topics": [
        "lungcancer"
      ]
    },
    {
      "page": "mlogit",
      "title": "Class 'mlogit'",
      "topics": [
        "mlogit",
        "rmlogit"
      ]
    },
    {
      "page": "npgeom",
      "title": "Class 'npgeom'",
      "topics": [
        "dnpgeom",
        "npgeom",
        "pnpgeom",
        "rnpgeom"
      ]
    },
    {
      "page": "npnbinom",
      "title": "Class 'npnbinom'",
      "topics": [
        "dnpnbinom",
        "npnbinom",
        "pnpnbinom",
        "rnpnbinom"
      ]
    },
    {
      "page": "npnorm",
      "title": "Class 'npnorm'",
      "topics": [
        "dnpnorm",
        "npnorm",
        "pnpnorm",
        "rnpnorm"
      ]
    },
    {
      "page": "nppois",
      "title": "Class 'nppois'",
      "topics": [
        "dnppois",
        "nppois",
        "pnppois",
        "rnppois"
      ]
    },
    {
      "page": "plot.disc",
      "title": "Plot a discrete distribution function",
      "topics": [
        "plot.disc"
      ]
    },
    {
      "page": "plot.npgeom",
      "title": "Plotting a nonparametric geometric mixture",
      "topics": [
        "plot.npgeom"
      ]
    },
    {
      "page": "plot.npnbinom",
      "title": "Plotting a nonparametric negative binomial mixture",
      "topics": [
        "plot.npnbinom"
      ]
    },
    {
      "page": "plot.npnorm",
      "title": "Plotting a Nonparametric or Semiparametric Normal Mixture",
      "topics": [
        "plot.npnorm"
      ]
    },
    {
      "page": "plot.nppois",
      "title": "Plotting a nonparametric Poisson mixture",
      "topics": [
        "plot.nppois"
      ]
    },
    {
      "page": "plot.nspmix",
      "title": "Plots a function for an object of class 'nspmix'",
      "topics": [
        "nspmix",
        "plot.nspmix"
      ]
    },
    {
      "page": "plotgrad",
      "title": "Plot the Gradient Function",
      "topics": [
        "plotgrad"
      ]
    },
    {
      "page": "print.disc",
      "title": "Prints a discrete distribution function",
      "topics": [
        "print.disc"
      ]
    },
    {
      "page": "sort.npnorm",
      "title": "Sorting of an Object of Class 'npnorm'",
      "topics": [
        "sort.npnorm"
      ]
    },
    {
      "page": "sort.nppois",
      "title": "Sorting of an Object of Class 'nppois'",
      "topics": [
        "sort.nppois"
      ]
    },
    {
      "page": "suppspace",
      "title": "Support space",
      "topics": [
        "suppspace"
      ]
    },
    {
      "page": "thai",
      "title": "Illness Spells and Frequencies of Thai Preschool Children",
      "topics": [
        "thai"
      ]
    },
    {
      "page": "toxo",
      "title": "Toxoplasmosis Data",
      "topics": [
        "toxo"
      ]
    },
    {
      "page": "valid",
      "title": "Valid parameter values",
      "topics": [
        "valid"
      ]
    },
    {
      "page": "weight",
      "title": "Weights",
      "topics": [
        "weight"
      ]
    },
    {
      "page": "whist",
      "title": "Weighted Histograms Plots or computes the histogram with observations with multiplicities/weights. Just like 'hist', 'whist' can either plot the histogram or compute the values that define the histogram, by setting 'plot' to 'TRUE' or 'FALSE'. The histogram can either be the one for frequencies or density, by setting 'freq' to 'TRUE' or 'FALSE'.",
      "topics": [
        "whist"
      ]
    }
  ],
  "_rundeps": [
    "lsei"
  ],
  "_score": 1.146128035678238,
  "_indexed": true,
  "_nocasepkg": "nspmix",
  "_universes": [
    "yong3738"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0-0",
      "date": "2026-10-13T10:23:13.000Z",
      "distro": "resolute",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/4749241244536f0b7d3af5445509ece7dbd9eedc9447afeef8ebb3670e3dc754",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:51.000Z",
      "distro": "resolute",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/ed6f10ebfb2b2bad568c1498f5b6682c1c0efd29946900bb7f5439956531d46d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:24.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/16964174816457463a830a17edbebc6a7529c03ba272c6fc34a95f04ded8c296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:38.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/be8c59b9ca17b6ae88e7637db03d1e1c6fea6622426efe65c674f26266c6e78e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:22.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/9f645ab5c936858dc765efdcfce7269175d5c2c834a7b1cae210e093f29b31fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:03.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/6974c00e90fd1feca45440708a2edd36ebff8254bffa5eabcff8109f002be226",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-10-13T10:22:04.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/23d292672a6fce0870f322444919416ebea889bb577661e8266719f0e0a733e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-10-13T10:21:49.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "https://r2.ropensci.org/5abc03dedca8ff26786a9f116eeeec15939c26d30de3073080a312c0654663c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/38382409205"
    }
  ]
}