Learn R Programming

fmi (version 0.1.7)

run_dti_example: DTI Example Data Wrapper

Description

A helper function to load and pre-process the DTI dataset from the 'refund' package for use in examples.

Usage

run_dti_example(n_perms = 499L)

Value

Invisibly returns the FMI results list.

Arguments

n_perms

The number of permutations (default: 499L). Passed to run_fmi.

Examples

Run this code
# \donttest{
  # n_perms=9 is for a quick check. Use 499+ for real analysis.
  if (requireNamespace("refund", quietly = TRUE)) {
    dti_results <- run_dti_example(n_perms = 9)
  }
# }

Run the code above in your browser using DataLab