Learn R Programming

LeadSense (version 0.0.2.0)

impedance_summary: Extract and summarize Impedance data if available

Description

This function extracts impedance data from a JSON-like dataset and computes summary statistics.

Usage

impedance_summary(dataset = NULL)

Value

A list containing:

  • combined_impedance_df - The full impedance dataset (if available).

  • impedance_summary - Summary of mean impedance values by Hemisphere and Type.

If no valid impedance data is found, a message is printed instead.

Arguments

dataset

A JSON object/list loaded into the work environment. If NULL, attempts to load the default dataset from the LeadSense package.

Examples

Run this code
impedance_results <- impedance_summary(dataset)
print(impedance_results$impedance_summary)
print(impedance_results$combined_impedance_df)

Run the code above in your browser using DataLab