{
  "_id": "6a1f295eb401979e73423f58",
  "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-05-16 00:53:18 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",
  "MD5sum": "6780ff479db1bfe2c179b83795e7ee41",
  "_user": "yong3738",
  "_type": "src",
  "_file": "nspmix_2.0-0.tar.gz",
  "_fileid": "735d2774230d4f52ed322ab36ae4389f8be19b14cbbf8155a9254ee4f61b2d18",
  "_filesize": 311467,
  "_sha256": "735d2774230d4f52ed322ab36ae4389f8be19b14cbbf8155a9254ee4f61b2d18",
  "_created": "2026-05-16T00:53:18.000Z",
  "_published": "2026-06-02T19:05:02.332Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79150278839,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7029087820"
    },
    {
      "job": 79150279073,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7029086331"
    },
    {
      "job": 79150279397,
      "time": 74,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7029081674"
    },
    {
      "job": 79150278662,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7029082759"
    },
    {
      "job": 79150278217,
      "time": 147,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7029071871"
    },
    {
      "job": 79150278057,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367252114"
    },
    {
      "job": 79150278762,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7029083197"
    },
    {
      "job": 79150279105,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7029082636"
    },
    {
      "job": 79150278938,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7029081770"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 108646030
  },
  "_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"
  },
  "_downloads": {
    "count": 246,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nspmix"
  },
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nspmix.html",
    "manual.pdf"
  ],
  "_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-05-16T00:55:12.000Z",
      "distro": "noble",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "c1f14bfd5081f3e53c6a2e37c3c917161fffe5458c8a310980a5cc9774b302f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0-0",
      "date": "2026-05-16T00:55:05.000Z",
      "distro": "noble",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "e72ea00e513e5f4f6161bbbc25befbd227197bbdc6ca88b654582c45963f1d70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0-0",
      "date": "2026-05-16T00:54:38.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "adf8f91c7af741328be482c2aeab334b2795cd5ccbdd64b0680f10f8d23dee47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0-0",
      "date": "2026-05-16T00:54:46.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "0d35910471e9b999a837bce42fb6e1de2472f56169ffd89e13b373c6bec41a36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-05-16T00:54:39.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "2c11083ed5ec64458dea09121de9d4830d7d8e243e0e1add643b47f39260bb56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-05-16T00:54:32.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "f8050bb9ed7295b181fbfe5bd31c4902c413fc0deccb3e6ea19a32ab61e4efcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0-0",
      "date": "2026-05-16T00:54:23.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "96866408779e20b74a3de1608a18aed1133347f66610b8a63b484d1992cbeb71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0-0",
      "date": "2026-06-02T19:04:43.000Z",
      "commit": "fdabf32b8edc27c8ecf3408d850607d8955f3dfb",
      "fileid": "7326b4c8b89ad7b1b76fb95c08a664e7a61a9af990378d8a75483ec695be6395",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yong3738/actions/runs/25948378124"
    }
  ]
}