{
  "_id": "6a1efdeeb401979e73419cbe",
  "Package": "latentcor",
  "Type": "Package",
  "Title": "Fast Computation of Latent Correlations for Mixed Data",
  "Version": "2.0.2",
  "Authors@R": "c(\nperson(given = \"Mingze\",\nfamily = \"Huang\",\nrole = c(\"aut\"),\nemail = \"mingzehuang@gmail.com\",\ncomment = c(ORCID = \"0000-0003-3919-1564\")),\nperson(given = \"Grace\",\nfamily = \"Yoon\",\nrole = c(\"aut\"),\nemail = \"gyoon6067@gmail.com\",\ncomment = c(ORCID = \"0000-0003-3263-1352\")),\nperson(given = \"Christian\",\nfamily = \"M&uuml;ller\",\nrole = c(\"aut\"),\nemail = \"christian.mueller@stat.uni-muenchen.de\",\ncomment = c(ORCID = \"0000-0002-3821-7083\")),\nperson(given = \"Irina\",\nfamily = \"Gaynanova\",\nrole = c(\"aut\", \"cre\"),\nemail = \"irinagn@umich.edu\",\ncomment = c(ORCID = \"0000-0002-4116-0268\")))",
  "Maintainer": "Irina Gaynanova <irinagn@umich.edu>",
  "Description": "The first stand-alone R package for computation of latent\ncorrelation that takes into account all variable types\n(continuous/binary/ordinal/zero-inflated), comes with an\noptimized memory footprint, and is computationally efficient,\nessentially making latent correlation estimation almost as fast\nas rank-based correlation estimation. The estimation is based\non latent copula Gaussian models. For continuous/binary types,\nsee Fan, J., Liu, H., Ning, Y., and Zou, H. (2017). For ternary\ntype, see Quan X., Booth J.G. and Wells M.T. (2018)\n<doi:10.48550/arXiv.1809.06255>. For truncated type or\nzero-inflated type, see Yoon G., Carroll R.J. and Gaynanova I.\n(2020) <doi:10.1093/biomet/asaa007>. For approximation method\nof computation, see Yoon G., Müller C.L. and Gaynanova I.\n(2021) <doi:10.1080/10618600.2021.1882468>. The latter method\nuses multi-linear interpolation originally implemented in the R\npackage <https://cran.r-project.org/package=chebpol>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libmagick++-dev gsfonts libicu-dev\nlibuv1-dev libssl-dev",
  "Repository": "https://mingzehuang.r-universe.dev",
  "Date/Publication": "2025-11-18 14:51:58 UTC",
  "RemoteUrl": "https://github.com/mingzehuang/latentcor",
  "RemoteRef": "HEAD",
  "RemoteSha": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-18 09:44:44 UTC",
    "User": "root"
  },
  "Author": "Mingze Huang [aut] (ORCID: <https://orcid.org/0000-0003-3919-1564>),\nGrace Yoon [aut] (ORCID: <https://orcid.org/0000-0003-3263-1352>),\nChristian M&uuml;ller [aut] (ORCID:\n<https://orcid.org/0000-0002-3821-7083>),\nIrina Gaynanova [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4116-0268>)",
  "MD5sum": "fcbd1e9c92bb4b061272cd24ce3ab841",
  "_user": "mingzehuang",
  "_type": "src",
  "_file": "latentcor_2.0.2.tar.gz",
  "_fileid": "7f558a1e9a954e4e29615cabc12ffaf5d16cee04d2efcaf2598669106fad6314",
  "_filesize": 3266511,
  "_sha256": "7f558a1e9a954e4e29615cabc12ffaf5d16cee04d2efcaf2598669106fad6314",
  "_created": "2026-05-18T09:44:44.000Z",
  "_published": "2026-06-02T15:59:42.981Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79114610760,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7054576145"
    },
    {
      "job": 79114610745,
      "time": 229,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7054576946"
    },
    {
      "job": 79114610645,
      "time": 210,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054569870"
    },
    {
      "job": 79114611457,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054578395"
    },
    {
      "job": 79114611979,
      "time": 215,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7054563169"
    },
    {
      "job": 79114611430,
      "time": 292,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7054591171"
    },
    {
      "job": 79114610815,
      "time": 194,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054556458"
    },
    {
      "job": 79114610324,
      "time": 372,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054616413"
    },
    {
      "job": 79114609680,
      "time": 302,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054494071"
    },
    {
      "job": 79114609961,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363061428"
    },
    {
      "job": 79114610444,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7054561649"
    },
    {
      "job": 79114612434,
      "time": 163,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7054553317"
    },
    {
      "job": 79114610875,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054572820"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mingzehuang/latentcor",
  "_commit": {
    "id": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
    "author": "Irina Gaynanova <irina.gain@gmail.com>",
    "committer": "Irina Gaynanova <irina.gain@gmail.com>",
    "message": "update Rstudio link in readme\n",
    "time": 1763477518
  },
  "_maintainer": {
    "name": "Irina Gaynanova",
    "email": "irinagn@umich.edu",
    "login": "irinagain",
    "orcid": "0000-0002-4116-0268",
    "twitter": "@IrinaStats",
    "description": "",
    "uuid": 7283985
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "pcaPP",
      "role": "Imports"
    },
    {
      "package": "fMultivar",
      "role": "Imports"
    },
    {
      "package": "mnormt",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "heatmaply",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "geometry",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "microbenchmark",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "cubature",
      "role": "Suggests"
    },
    {
      "package": "plot3D",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "mingzehuang",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-47",
      "n": 13
    }
  ],
  "_tags": [],
  "_topics": [
    "data-analysis",
    "data-mining",
    "data-processing",
    "data-science",
    "data-structures",
    "machine-learning",
    "mixed-types",
    "statistics"
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "mingzehuang",
      "count": 472,
      "uuid": 70076112
    },
    {
      "user": "irinagain",
      "count": 69,
      "uuid": 7283985
    },
    {
      "user": "muellsen",
      "count": 45,
      "uuid": 10677157
    }
  ],
  "_userbio": {
    "uuid": 70076112,
    "type": "user",
    "name": "Mingze \"Rico\" Huang",
    "description": "Ph.D. in Economics and M.S. in Statistics @ Texas A&M University"
  },
  "_downloads": {
    "count": 886,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/latentcor"
  },
  "_devurl": "https://github.com/mingzehuang/latentcor",
  "_searchresults": 36,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/latentcor.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mingzehuang/latentcor",
  "_realowner": "mingzehuang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-08-26"
    },
    {
      "version": "1.1.0",
      "date": "2021-10-04"
    },
    {
      "version": "1.2.0",
      "date": "2021-10-31"
    },
    {
      "version": "1.2.1",
      "date": "2022-06-07"
    },
    {
      "version": "2.0.0",
      "date": "2022-08-09"
    },
    {
      "version": "2.0.1",
      "date": "2022-09-05"
    },
    {
      "version": "2.0.2",
      "date": "2025-11-26"
    }
  ],
  "_exports": [
    "evaluation",
    "gen_data",
    "get_types",
    "interpolation",
    "ipol",
    "latentcor",
    "r_ml_wrapper"
  ],
  "_help": [
    {
      "page": "evaluation",
      "title": "Numerical evaluation for different estimation methods.",
      "topics": [
        "evaluation"
      ]
    },
    {
      "page": "gen_data",
      "title": "Mixed type simulation data generator",
      "topics": [
        "gen_data"
      ]
    },
    {
      "page": "get_types",
      "title": "Automatically determine types of each variable (continuous/binary/ternary/truncated) in a data matrix.",
      "topics": [
        "get_types"
      ]
    },
    {
      "page": "interpolant",
      "title": "Evaluate an interpolant in a point",
      "topics": [
        "interpolant"
      ]
    },
    {
      "page": "interpolation",
      "title": "Parallel version of multilinear interpolation generator for function approximation",
      "topics": [
        "interpolation"
      ]
    },
    {
      "page": "ipol",
      "title": "Create an interpolating function from given values. Several interpolation methods are supported.",
      "topics": [
        "ipol"
      ]
    },
    {
      "page": "latentcor",
      "title": "Estimate latent correlation for mixed types.",
      "topics": [
        "latentcor"
      ]
    },
    {
      "page": "r_ml_wrapper",
      "title": "Port function to call multilinear interpolants for continuous developers.",
      "topics": [
        "r_ml_wrapper"
      ]
    }
  ],
  "_readme": "https://github.com/mingzehuang/latentcor/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "assertthat",
    "base64enc",
    "bslib",
    "ca",
    "cachem",
    "callr",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "crosstalk",
    "cubature",
    "curl",
    "data.table",
    "dendextend",
    "digest",
    "doFuture",
    "doRNG",
    "dplyr",
    "egg",
    "evaluate",
    "farver",
    "fastmap",
    "fBasics",
    "fMultivar",
    "fontawesome",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "gclus",
    "generics",
    "geometry",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gss",
    "gtable",
    "heatmaply",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "linprog",
    "listenv",
    "lpSolve",
    "magic",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "mnormt",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "openssl",
    "otel",
    "parallelly",
    "pcaPP",
    "permute",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "processx",
    "promises",
    "ps",
    "purrr",
    "qap",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppProgress",
    "registry",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rngtools",
    "S7",
    "sass",
    "scales",
    "seriation",
    "sn",
    "SparseM",
    "spatial",
    "stabledist",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "timeSeries",
    "tinytex",
    "TSP",
    "utf8",
    "vctrs",
    "vegan",
    "viridis",
    "viridisLite",
    "webshot",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "latentcor.Rmd",
      "filename": "latentcor.html",
      "title": "latentcor",
      "author": "Mingze Huang, Christian L. Müller, Irina Gaynanova",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Statement of need",
        "Getting started",
        "A simple example with two variables",
        "Example with mtcars dataset",
        "Example using latentcor with subsampling",
        "References"
      ],
      "created": "2021-05-20 13:22:00",
      "modified": "2022-08-31 16:46:40",
      "commits": 53
    },
    {
      "source": "latentcor_math.Rmd",
      "filename": "latentcor_math.html",
      "title": "Mathematical Framework for latentcor",
      "author": "Mingze Huang, Christian L. Müller, Irina Gaynanova",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Latent Gaussian Copula Model for Mixed Data",
        "Moment-based estimation of $\\Sigma$ based on bridge functions",
        "Estimation methods",
        "Original method (method = \"original\")",
        "Approximation method (method = \"approx\")",
        "Adjustment of pointwise-estimator for positive-definiteness",
        "Appendix",
        "Derivation of bridge function $F$ for ternary/truncated case",
        "Derivation of approximate bound for the ternary/continuous case",
        "Derivation of approximate bound for the ternary/truncated case",
        "References"
      ],
      "created": "2021-09-03 02:26:56",
      "modified": "2022-07-14 09:51:52",
      "commits": 4
    }
  ],
  "_score": 6.538573733806857,
  "_indexed": true,
  "_nocasepkg": "latentcor",
  "_universes": [
    "mingzehuang",
    "irinagain"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "e2e5a91900f1266a8ee7a6ae4fb561305a5044950d43143596bda0dcc0dc83c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "727b4d51eef6fb66ee84464cd368202754f0a563002f4a9e9de62bc4465f331d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "875bbefcbb62c7231cff5cb0867b7ddb2806494bcc6b942e790a9eded6ff8cf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "0950aff06f77ee95ef5e8205470c7464cc54f391b064863370c70635d859a6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:27.000Z",
      "arch": "aarch64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "66e91e0e6859cabcf6aee6ce144709108cdfc057f607a9624a69f76c144c3267",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:59.000Z",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "0fbc9c8a689232f6c53d4fee0097fb35f33d017022301247055b992212d215c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-18T09:46:59.000Z",
      "arch": "aarch64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "88bca47a1a600ba1559966a4e3e7ad6924309e04a50414bf6341f6e9683409b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-18T09:49:00.000Z",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "01db830129e3bb30198195f6ea48a4ada7771a8b7a30def3c6027a05f41958fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-18T09:46:41.000Z",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "fa1f1b2e855ed7571ca6aaf9109f1bd6c9f3f8e91e691ac4c68662aece16fbfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-18T09:46:24.000Z",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "2dd186da01c39979e286ff1fbff345813d452c1ddecec08dd9695a604d39eed6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-18T09:47:18.000Z",
      "arch": "x86_64",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "7d4c3ea85da86f1a89357a0b56706bc22d8674beafa0bb72b3ce6d0820bd0bd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.2",
      "date": "2026-06-02T15:59:16.000Z",
      "arch": "emscripten",
      "commit": "033546f6c51da9bf848f2ba2b4013cfc1f50ac72",
      "fileid": "36a18a8e829e0affe262da477843e5707b85b17debf3ab530367bd9a52d4c370",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mingzehuang/actions/runs/26025621516"
    }
  ]
}