{
  "_id": "6a102f25acfb0bcc41c94b89",
  "Package": "MD2sample",
  "Title": "Various Methods for the Two Sample Problem in D>1 Dimensions",
  "Version": "1.2.1",
  "Authors@R": "person(\"Wolfgang\", \"Rolke\", , \"wolfgang.rolke@upr.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3514-726X\"))",
  "Description": "The routine twosample_test() in this package runs the\ntwo-sample test using various test statistic for multivariate\ndata. The user can also run several tests and then find a p\nvalue adjusted for simultaneous inference. The p values are\nfound via permutation or via the parametric bootstrap. The\nroutine twosample_power() allows the estimation of the power of\nthe tests. The routine run.studies() allows a user to quickly\nstudy the power of a new method and how it compares to those\nincluded in the package. For details of the methods and\nreferences see the included vignettes.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 17:53:54 UTC",
    "User": "root"
  },
  "Author": "Wolfgang Rolke [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3514-726X>)",
  "Maintainer": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
  "Config/pak/sysreqs": "libglpk-dev libgsl0-dev libxml2-dev",
  "Repository": "https://wolfgangrolke.r-universe.dev",
  "Date/Publication": "2026-05-12 17:27:22 UTC",
  "RemoteUrl": "https://github.com/cran/MD2sample",
  "RemoteRef": "HEAD",
  "RemoteSha": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
  "MD5sum": "3681da7fb90f954ad1f047fc01e7e485",
  "_user": "wolfgangrolke",
  "_type": "src",
  "_file": "MD2sample_1.2.1.tar.gz",
  "_fileid": "417a2ba9099661fd9732e0ac651064d57ee2345c3de2afb6c270be8c2865239c",
  "_filesize": 19755566,
  "_sha256": "417a2ba9099661fd9732e0ac651064d57ee2345c3de2afb6c270be8c2865239c",
  "_created": "2026-05-12T17:53:54.000Z",
  "_published": "2026-05-22T10:25:41.318Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361214136,
      "time": 177,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6951860191"
    },
    {
      "job": 77361214137,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6951864579"
    },
    {
      "job": 77361214162,
      "time": 184,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951862779"
    },
    {
      "job": 77361214261,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951863740"
    },
    {
      "job": 77361214274,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6951839071"
    },
    {
      "job": 77361214204,
      "time": 216,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6951874319"
    },
    {
      "job": 77361214145,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951847841"
    },
    {
      "job": 77361213971,
      "time": 361,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951925708"
    },
    {
      "job": 77361213743,
      "time": 380,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951796605"
    },
    {
      "job": 77361213550,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158294384"
    },
    {
      "job": 77361214104,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6951851411"
    },
    {
      "job": 77361214416,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6951848121"
    },
    {
      "job": 77361214117,
      "time": 178,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951860184"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/MD2sample",
  "_commit": {
    "id": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
    "author": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.1\n",
    "time": 1778606842
  },
  "_maintainer": {
    "name": "Wolfgang Rolke",
    "email": "wolfgang.rolke@upr.edu",
    "login": "wolfgangrolke",
    "uuid": 9784563,
    "orcid": "0000-0002-3514-726X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "FNN",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "ade4",
      "role": "Imports"
    },
    {
      "package": "gTests",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lsa",
      "role": "Imports"
    },
    {
      "package": "microbenchmark",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Ball",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "egg",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-07-22"
    },
    {
      "name": "1.1.0",
      "date": "2026-01-18"
    },
    {
      "name": "1.1.1",
      "date": "2026-02-02"
    },
    {
      "name": "1.2.0",
      "date": "2026-03-28"
    },
    {
      "name": "1.2.1",
      "date": "2026-05-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wolfgangrolke",
      "count": 5,
      "uuid": 9784563
    }
  ],
  "_userbio": {
    "uuid": 9784563,
    "type": "user",
    "name": "WolfgangRolke"
  },
  "_downloads": {
    "count": 477,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MD2sample"
  },
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MD2sample.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "wolfgangrolke",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-22"
    },
    {
      "version": "1.1.0",
      "date": "2026-01-18"
    },
    {
      "version": "1.1.1",
      "date": "2026-02-02"
    },
    {
      "version": "1.2.0",
      "date": "2026-03-28"
    },
    {
      "version": "1.2.1",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "bincounterR",
    "case.studies",
    "change.marginals",
    "chiTS.cont",
    "chiTS.disc",
    "FR.test",
    "power_pvals",
    "rDalitz",
    "run.studies",
    "simpvals",
    "simTS",
    "test_methods",
    "timecheck",
    "TS_cont_pval",
    "twosample_power",
    "twosample_test",
    "twosample_test_adjusted_pvalue"
  ],
  "_datasets": [
    {
      "name": "power_studies_results",
      "title": "power_studies_results",
      "object": "power_studies_results",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "case.studies",
      "title": "Create case studies",
      "topics": [
        "case.studies"
      ]
    },
    {
      "page": "chisq2D_test_cont",
      "title": "This function does the chi square two sample test for continuous data in two dimensions",
      "topics": [
        "chisq2D_test_cont"
      ]
    },
    {
      "page": "chisq2D_test_disc",
      "title": "This function does the chi square two sample test for continuous data in two dimensions",
      "topics": [
        "chisq2D_test_disc"
      ]
    },
    {
      "page": "chiTS.cont",
      "title": "Chi-square test for continuous data, example of user supplied function",
      "topics": [
        "chiTS.cont"
      ]
    },
    {
      "page": "chiTS.disc",
      "title": "Chi-square test for discrete data, example of user supplied function",
      "topics": [
        "chiTS.disc"
      ]
    },
    {
      "page": "edge.tests",
      "title": "This function does the tests by Chen and Friedman",
      "topics": [
        "edge.tests"
      ]
    },
    {
      "page": "FR.test",
      "title": "Friedman-Rafsky (FR) test",
      "topics": [
        "FR.test"
      ]
    },
    {
      "page": "power_studies_results",
      "title": "power_studies_results",
      "topics": [
        "power_studies_results"
      ]
    },
    {
      "page": "run.studies",
      "title": "Benchmarking for Multivariate Two-Sample Tests",
      "topics": [
        "run.studies"
      ]
    },
    {
      "page": "signif.digits",
      "title": "This function does some rounding to nice numbers",
      "topics": [
        "signif.digits"
      ]
    },
    {
      "page": "timecheck",
      "title": "test function",
      "topics": [
        "timecheck"
      ]
    },
    {
      "page": "TS_cont_pval",
      "title": "This function runs a number of two sample tests which find their own p value.",
      "topics": [
        "TS_cont_pval"
      ]
    },
    {
      "page": "twosample_power",
      "title": "Power Estimation for Multivariate Two-Sample Tests",
      "topics": [
        "twosample_power"
      ]
    },
    {
      "page": "twosample_test",
      "title": "Multivariate Two-Sample Tests",
      "topics": [
        "twosample_test"
      ]
    },
    {
      "page": "twosample_test_adjusted_pvalue",
      "title": "Adjusted p values",
      "topics": [
        "twosample_test_adjusted_pvalue"
      ]
    }
  ],
  "_rundeps": [
    "ade4",
    "ADGofTest",
    "Ball",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "copula",
    "cpp11",
    "FNN",
    "foreach",
    "gam",
    "glue",
    "gsl",
    "gTests",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "lsa",
    "magrittr",
    "MASS",
    "Matrix",
    "microbenchmark",
    "mvtnorm",
    "numDeriv",
    "pcaPP",
    "pixmap",
    "pkgconfig",
    "pspline",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "SnowballC",
    "sp",
    "stabledist",
    "survival",
    "vctrs"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "CaseStudies.Rmd",
      "filename": "CaseStudies.html",
      "title": "Case Studies",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dim=2, equal marginals",
        "Dim=2, unequal marginals",
        "Dim=5, equal marginals",
        "Dim=5, unequal marginals"
      ],
      "created": "2025-07-22 11:40:11",
      "modified": "2026-01-18 14:10:02",
      "commits": 2
    },
    {
      "source": "MD2sample.Rmd",
      "filename": "MD2sample.html",
      "title": "MD2sample",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Continuous Data",
        "Example 1",
        "New Tests",
        "Adjusted p values",
        "Power Estimation",
        "Example 2",
        "Discrete Data",
        "Example 3",
        "User supplied tests",
        "Goodness-of-fit/Two-sample hybrid problem",
        "Benchmarking",
        "Goodness-of-fit / twosample hybrid problem.",
        "Example 5",
        "Methods included in MD2sample for continuous data",
        "Methods whose p values are found via simulation",
        "Methods based on empirical distribution functions",
        "Methods based on nearest neighbors",
        "Methods based on distances between observations",
        "Methods based on kernel density estimates",
        "Methods whose p values are found using a large sample theory",
        "Methods included in MD2sample for discrete data",
        "References"
      ],
      "created": "2025-07-22 11:40:11",
      "modified": "2026-03-28 07:57:20",
      "commits": 3
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "md2sample",
  "_universes": [
    "wolfgangrolke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-12T17:56:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "e382fa6a32435d4e19be20bc71b6d9d9b2564d4c80735afbdb1a5fbda424c8cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-12T17:57:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "bbbb1a941449479def9f732e67015a7f0c19ff56f16f3abe905fde8c178fe35d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-12T17:57:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "e8253af1a12ead9a5ff79325be892e5406c975f1fcedd2d015040fd37e96e1b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-12T17:57:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "cd8362ee774cd8316d33792a188a9714d2e180a50dedb75e771f57dd95944a4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-12T17:56:04.000Z",
      "arch": "aarch64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "e929cb56c4af6592332a813564c44825cf9bb2aac3e93fe50d70c545dd333daf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-12T17:57:02.000Z",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "8dd88a7e163661f083781c9cb015beac0d02c8c27e27f257aa3951b6c792098f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-12T17:56:18.000Z",
      "arch": "aarch64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "4e24a617ae86f74094c8bd0e8db03b69d962a00b2ecf18947581792c87d5c985",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-12T17:57:59.000Z",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "7e2e07674a9529eb5a84eaab7e40921a3a5e4bc66f2f4a50815a39adefcf344e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-12T17:55:46.000Z",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "1e49b8986d009e1c35ebf5ff494a4294e6495dc186ea15819e79881bebe71b65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-12T17:55:38.000Z",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "50ff68fa79869099715a3f5e1b6345f1f63031745f4c496cb93a49772d1dcdd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-12T17:55:48.000Z",
      "arch": "x86_64",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "cff0c49fc9c42bde6f5a8befe4b6b4f65f1757e2d8fa5af2441caff6d480bfde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-05-22T10:24:46.000Z",
      "arch": "emscripten",
      "commit": "2eba71dfa70f1d86440617ebc058acf34b57d03e",
      "fileid": "9ba786ffa883de4a37c1b5930f443922ae0f6faee656d76a80038127233b51c3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/25752031503"
    }
  ]
}