{
  "_id": "6a107261acfb0bcc41cabf38",
  "Package": "fitPS",
  "Type": "Package",
  "Title": "Fit Zeta Distributions to Forensic Data",
  "Version": "1.0.3",
  "Date": "2025-03-12",
  "Authors@R": "person(\"James\", \"Curran\", , \"j.curran@auckland.ac.nz\", role = c(\"aut\", \"cre\"))",
  "Description": "Fits Zeta distributions (discrete power laws) to data that\narises from forensic surveys of clothing on the presence of\nglass and paint in various populations. The general method is\ndescribed to some extent in Coulson, S.A., Buckleton, J.S.,\nGummer, A.B., and Triggs, C.M. (2001)\n<doi:10.1016/S1355-0306(01)71847-3>, although the\nimplementation differs.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RdMacros": "Rdpack",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/jmcurran/fitPS",
  "BugReports": "https://github.com/jmcurran/fitPS/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://jmcurran.r-universe.dev",
  "Date/Publication": "2025-03-20 09:48:41 UTC",
  "RemoteUrl": "https://github.com/jmcurran/fitps",
  "RemoteRef": "HEAD",
  "RemoteSha": "8c76105713700709403a8dd0c27899763c96c3c8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 06:23:23 UTC",
    "User": "root"
  },
  "Author": "James Curran [aut, cre]",
  "Maintainer": "James Curran <j.curran@auckland.ac.nz>",
  "MD5sum": "079c9f9642225dc4a69a2fdbf12da853",
  "_user": "jmcurran",
  "_type": "src",
  "_file": "fitPS_1.0.3.tar.gz",
  "_fileid": "ad65657d3f5d329fbecfd1293d7c9729cdd26f8abbc351428aa85c8ceb299e84",
  "_filesize": 692846,
  "_sha256": "ad65657d3f5d329fbecfd1293d7c9729cdd26f8abbc351428aa85c8ceb299e84",
  "_created": "2026-05-07T06:23:23.000Z",
  "_published": "2026-05-22T15:12:32.993Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77407864761,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6848313610"
    },
    {
      "job": 77407865154,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6848310975"
    },
    {
      "job": 77407864857,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6848321963"
    },
    {
      "job": 77407864778,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6848351236"
    },
    {
      "job": 77407864079,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6848268380"
    },
    {
      "job": 77407864294,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163907624"
    },
    {
      "job": 77407864988,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6848300968"
    },
    {
      "job": 77407865167,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6848300566"
    },
    {
      "job": 77407864770,
      "time": 115,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6848297052"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jmcurran/fitps",
  "_commit": {
    "id": "8c76105713700709403a8dd0c27899763c96c3c8",
    "author": "jmcurran <james.m.curran@gmail.com>",
    "committer": "jmcurran <james.m.curran@gmail.com>",
    "message": "added pdf element to psFit structure for the Bayesian methods. This element is a function which can be used for things like computing a CDF or the posterior mean etc.\n",
    "time": 1742464121
  },
  "_maintainer": {
    "name": "James Curran",
    "email": "j.curran@auckland.ac.nz",
    "login": "jmcurran",
    "uuid": 1457367
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "foreach",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "ks",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "VGAM",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "xtable",
      "role": "Suggests"
    }
  ],
  "_owner": "jmcurran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jmcurran",
      "count": 66,
      "uuid": 1457367
    },
    {
      "user": "mkruijver",
      "count": 4,
      "uuid": 33736732
    }
  ],
  "_userbio": {
    "uuid": 1457367,
    "type": "user",
    "name": "James Curran",
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer."
  },
  "_downloads": {
    "count": 259,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fitPS"
  },
  "_devurl": "https://github.com/jmcurran/fitps",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fitPS.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jmcurran/fitps",
  "_realowner": "jmcurran",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2022-12-01"
    },
    {
      "version": "0.2-2",
      "date": "2023-01-20"
    },
    {
      "version": "0.2-3",
      "date": "2023-01-27"
    },
    {
      "version": "0.2-4",
      "date": "2023-02-13"
    },
    {
      "version": "0.2-5",
      "date": "2023-03-18"
    },
    {
      "version": "0.2-6",
      "date": "2023-06-10"
    },
    {
      "version": "1.0.0",
      "date": "2024-01-11"
    },
    {
      "version": "1.0.1",
      "date": "2024-03-20"
    }
  ],
  "_exports": [
    "add",
    "bootCI",
    "compareSurveys",
    "compareSurveysLRT",
    "createPSData",
    "credint",
    "credInt",
    "fitdist",
    "fitDist",
    "fitlogdist",
    "fitlogDist",
    "fitLogdist",
    "fitzidist",
    "fitZIdist",
    "fitZIDist",
    "makeData",
    "makePrior",
    "makePSData",
    "probfun",
    "readData",
    "rzeta",
    "rzizeta",
    "rZIzeta",
    "var"
  ],
  "_datasets": [
    {
      "name": "Psurveys",
      "title": "Number of Groups of Glass Data",
      "object": "Psurveys",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "Ssurveys",
      "title": "Size of Groups of Glass Data",
      "object": "Ssurveys",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "equals-.psData",
      "title": "S3 method for objects of class 'psData'",
      "topics": [
        "==.psData"
      ]
    },
    {
      "page": "add",
      "title": "Add data to a psData object",
      "topics": [
        "add"
      ]
    },
    {
      "page": "as.data.frame.psData",
      "title": "Converts an object of class 'psData' to a 'data.frame'",
      "topics": [
        "as.data.frame.psData"
      ]
    },
    {
      "page": "bootCI",
      "title": "Bootstrap confidence intervals or regions",
      "topics": [
        "bootCI",
        "bootCI.default",
        "bootCI.psData",
        "bootCI.psFit"
      ]
    },
    {
      "page": "compareSurveys",
      "title": "Compare two surveys on the basis of their shape parameters",
      "topics": [
        "comp.survs",
        "compare.surveys",
        "compareSurveys",
        "compareSurveys.default",
        "compareSurveys.psData",
        "compareSurveys.psFit"
      ]
    },
    {
      "page": "compareSurveysLRT",
      "title": "Compare two or more surveys on the basis of their shape parameters using a Likelihood Ratio Test",
      "topics": [
        "compareSurveysLRT"
      ]
    },
    {
      "page": "confint.psFit",
      "title": "S3 confint method for objects of class psFit",
      "topics": [
        "confint.psFit"
      ]
    },
    {
      "page": "credint",
      "title": "Bayesian credible intervals or regions",
      "topics": [
        "credInt",
        "credint"
      ]
    },
    {
      "page": "fitDist",
      "title": "Fit a Zeta Distribution to Forensic Data",
      "topics": [
        "fitDist",
        "fitdist"
      ]
    },
    {
      "page": "fitted.psFit",
      "title": "S3 fitted method for an object of class 'psFit'",
      "topics": [
        "fitted.psFit"
      ]
    },
    {
      "page": "fitZIDist",
      "title": "Fit a Zero-Inflated Zeta Distribution to Forensic Data",
      "topics": [
        "fitZIDist",
        "fitZIdist",
        "fitzidist"
      ]
    },
    {
      "page": "makePrior",
      "title": "Define a prior density",
      "topics": [
        "makePrior"
      ]
    },
    {
      "page": "makePSData",
      "title": "Create a survey data set manually",
      "topics": [
        "createPSData",
        "makeData",
        "makePSData"
      ]
    },
    {
      "page": "mean.psData",
      "title": "An S3 method for computing the mean of clothing survey for the number of groups or size of groups",
      "topics": [
        "mean.psData"
      ]
    },
    {
      "page": "plot.psFit",
      "title": "S3 plot method for an object of class 'psFit'",
      "topics": [
        "plot.psFit"
      ]
    },
    {
      "page": "predict.psFit",
      "title": "S3 predict method for an object of class 'psFit'",
      "topics": [
        "predict.psFit"
      ]
    },
    {
      "page": "print.psData",
      "title": "S3 print method for an object of class 'psData'",
      "topics": [
        "print.psData"
      ]
    },
    {
      "page": "print.psFit",
      "title": "S3 print method for an object of class 'psFit'",
      "topics": [
        "print.psFit"
      ]
    },
    {
      "page": "probfun",
      "title": "Probability Functions",
      "topics": [
        "probfun"
      ]
    },
    {
      "page": "Psurveys",
      "title": "Number of Groups of Glass Data",
      "topics": [
        "Psurveys"
      ]
    },
    {
      "page": "readData",
      "title": "Read count data from file",
      "topics": [
        "readData"
      ]
    },
    {
      "page": "rzeta",
      "title": "Generate random variates from a zeta distribution",
      "topics": [
        "rzeta"
      ]
    },
    {
      "page": "rZIzeta",
      "title": "Generate zero inflated zeta random variates",
      "topics": [
        "rZIzeta",
        "rzizeta"
      ]
    },
    {
      "page": "Ssurveys",
      "title": "Size of Groups of Glass Data",
      "topics": [
        "Ssurveys"
      ]
    },
    {
      "page": "summary.psFit",
      "title": "S3 summary method for an object of class 'psFit'",
      "topics": [
        "summary.psFit"
      ]
    },
    {
      "page": "var",
      "title": "Variance generic",
      "topics": [
        "var"
      ]
    },
    {
      "page": "var.psData",
      "title": "An S3 method for computing the variance of clothing survey for the number of groups or size of groups",
      "topics": [
        "var.psData"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "cellranger",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "data.table",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "FNN",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "kernlab",
    "KernSmooth",
    "knitr",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mclust",
    "memoise",
    "mgcv",
    "mime",
    "multicool",
    "mvtnorm",
    "nlme",
    "nnet",
    "pbapply",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "readxl",
    "rematch",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "examples.Rnw",
      "filename": "examples.pdf",
      "title": "Examples",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2024-01-05 03:21:27",
      "modified": "2025-02-19 01:15:40",
      "commits": 9
    },
    {
      "source": "simple_P_fit.Rnw",
      "filename": "simple_P_fit.pdf",
      "title": "Using fitPS to fit number of groups data",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2023-12-21 01:36:14",
      "modified": "2024-01-08 02:57:45",
      "commits": 7
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "fitps",
  "_universes": [
    "jmcurran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-07T06:25:55.000Z",
      "distro": "noble",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "6c6ffd1a049116bf02f46ab09deb60ba7ac6fde8628874193737f30d45e4ca65",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-07T06:25:46.000Z",
      "distro": "noble",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "3035f74326eb2d7e5ca7fc7467c734113b1b985bfe9f77f655b5804505417ffd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-07T06:26:26.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "e0030c99a59cb4198d9ee3336738e768e8a1fc4bce7290e076b3f7dffe354334",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-07T06:28:29.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "03d7de1a8c24d63fb22abacde47ba141dc5c11d11a01da1a1d75c214ea3cebbb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-07T06:24:54.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "d763c924f69ff4b592926f3f3332e0471654148bc86d03e5b08ec855eb5fa34b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-07T06:24:55.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "f934292af9fdf719d07b9f4918f198c80ba17f722c5848899d0559a9c92e4d75",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-07T06:24:41.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "2dfcf69dabe69737b61db2978f5b95d288a1c33a7736e3d64f5490c50b1a5073",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T15:12:09.000Z",
      "commit": "8c76105713700709403a8dd0c27899763c96c3c8",
      "fileid": "1782b257cefbc8a9867c522ff76fd831c64beb7981de7051c92b8d8e9c1ec479",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25479422048"
    }
  ]
}