Learn R Programming

ECDFniche (version 0.1.0)

run_ecdf_mahal_analysis: Run full ECDF–Mahalanobis analysis

Description

Convenience function that reproduces the three figures from the original manuscript for 1–5 dimensions.

Usage

run_ecdf_mahal_analysis(dims = 1:5, seed = 3L)

Value

A list containing:

  • analyses: list of ecdf_niche() outputs.

  • figure1, figure2, figure3: grobs with arranged plots.

Arguments

dims

Integer vector of dimensions (default 1:5).

seed

Optional seed for reproducibility.

Examples

Run this code
# Recreate original manuscript output:
set.seed(3)
full_res <- run_ecdf_mahal_analysis(dims = 1:5)

Run the code above in your browser using DataLab