Skip to contents

Parsers

Read pressure data from various file formats

pr_read_ascii()
Read ASCII Pressure Data Export
pr_read_csv()
Read Pressure Data from CSV
pr_read_forcesensor()
Read Force Sensor Data
pr_read_mask()
Read Mask File
pr_read_auto()
Auto-Detect and Read a Pressure Data File

Sensor Layouts

Predefined and custom sensor coordinate layouts

pr_layout()
Create a Pressure Sensor Layout
pr_layout_insole()
Get In-Shoe Pressure Insole Layout
pr_layout_platform()
Get Pressure Platform Layout
pr_layout_mat()
Get Generic Sensor Mat Layout
pr_layout_saddle()
Get Saddle Pressure Mat Layout
pr_layout_seat()
Get Seating Pressure Mat Layout
pr_layout_glove()
Get Glove Sensor Layout
pr_layout_list()
List All Built-In Sensor Layouts
pr_validate_layout()
Validate a Pressure Sensor Layout

S3 Classes

pr_trial()
Create a Pressure Trial Object
pr_dataset()
Create a Pressure Dataset
pr_cop()
Center of Pressure Object
pr_mask()
Create a Region Mask

Region Masks

pr_mask_default()
Get Default Region Masks for a Layout
pr_mask_apply()
Apply Masks to Extract Regional Pressure Data
pr_mask_foot_auto()
Auto-Segment Foot Regions from Pressure Data
pr_mask_saddle_6()
Standard 6-Region Saddle Mask
pr_mask_symmetry()
Split Layout into Left/Right Halves

Per-Frame Analysis

pr_calc_peak_pressure()
Calculate Peak Pressure Per Frame
pr_calc_mean_pressure()
Calculate Mean Pressure Per Frame
pr_calc_force()
Calculate Total Force Per Frame
pr_calc_contact_area()
Calculate Contact Area Per Frame
pr_calc_cop()
Calculate Center of Pressure
pr_calc_loaded_rate()
Calculate Fraction of Loaded Sensors Per Frame
pr_calc_pti()
Pressure-Time Integral Per Sensor
pr_calc_impulse()
Force-Time Integral (Impulse)
pr_calc_contact_time()
Total Contact Time
pr_calc_cop_path()
Total COP Path Length
pr_calc_cop_excursion()
COP Excursion (Anterior-Posterior and Medial-Lateral Range)

Trial Summary

pr_summary()
Summarize Trial Pressure Parameters
pr_calc_symmetry_index()
Symmetry Index

Regional Analysis

pr_calc_regional()
Compute Parameters by Region

Application-Specific Analysis

pr_calc_gait_cycles()
Detect Gait Cycles from Foot Pressure Data
pr_calc_rollover()
Analyze COP Rollover Pattern
pr_calc_saddle_bridge()
Detect Saddle Bridge Formation
pr_calc_saddle_slip()
Detect Saddle Slip / Asymmetric Loading
pr_calc_seat_hotspot()
Identify Pressure Hotspots

Reference Thresholds

pr_ref_saddle()
Saddle Fit Reference Thresholds
pr_ref_diabetic_foot()
Diabetic Foot Pressure Thresholds
pr_ref_wheelchair()
Wheelchair Seating Pressure Thresholds

Visualization

pr_plot_heatmap()
Plot Pressure Heatmap
pr_plot_heatmap_masked()
Plot Pressure Heatmap with Region Overlay
pr_plot_3d()
Interactive 3D Pressure Surface
pr_plot_force_time()
Plot Force vs Time
pr_plot_pressure_time()
Plot Peak and Mean Pressure vs Time
pr_plot_cop()
Plot Center of Pressure Trajectory
pr_plot_cop_butterfly()
COP Butterfly Plot Across Gait Cycles
pr_plot_contact_area()
Plot Contact Area vs Time
pr_plot_regional_bar()
Regional Parameter Comparison Bar Chart
pr_plot_symmetry()
Left/Right Symmetry Plot
pr_plot_comparison()
Compare Two Trials
pr_plot_saddle_report()
Saddle Fit Report Panel
pr_plot_foot_report()
Foot Pressure Report Panel
plot(<pr_layout>)
Plot a Sensor Layout
plot(<pr_trial>)
Plot a Pressure Trial

Export & Reporting

pr_export_csv()
Export Analysis Results to CSV
pr_export_report()
Generate an Analysis Report

Batch Processing

pr_batch_summary()
Batch Summary Across Multiple Trials
pr_merge_trials()
Merge Trials into a Dataset

Shiny Application

pr_run_app()
Launch the Interactive Pressure Data Explorer

Example Data

pr_example_trial()
Generate a Synthetic Pressure Trial
pr_example_files()
Write Sample Pressure Data Files

Utilities

pr_interpolate()
Spatial Interpolation of Pressure Data (for Display)
pr_filter_time()
Subset a Trial to a Time Window
pr_downsample()
Downsample a Trial

Cohort Ingest

Read a whole study into one object: a Pliance/Novel .asc reader that honours the recorded time column and the device channel map, directory batch reading, and filename-derived metadata.

pr_read_pliance()
Read a Novel/Pliance ASCII Export
pr_read_dir()
Read a Directory of Pressure Exports
pr_meta_from_filename()
Split Metadata Fields Out of a File Name

Device Channel Maps

Layouts built from an explicit channel-to-grid index map, for devices whose channel order is not the grid’s column-major order.

pr_layout_from_index_map()
Build a Layout From an Explicit Channel Map
pr_layout_saddle_novel()
Novel/Pliance 16x16 Saddle Mat Layout
pr_channel_order()
Raw Device Channel Order for a Layout

Cohort Handling

Design tables, filtering as an assertion, and dataset validation.

pr_design_table()
Cohort Design Table
pr_dataset_filter()
Filter a Dataset by Trial Metadata, With Count Assertions
pr_assert_cohort()
Assert Cohort Size
pr_validate_dataset()
Validate Cohort Homogeneity

Frame Metrics (whole-grid)

Whole-grid counterparts to the loaded-cell family. See the details on each for the denominator distinction.

pr_frame_metrics()
Per-Frame Metric Table
pr_calc_mean_pressure_grid()
Whole-Grid Mean Pressure Per Frame
pr_calc_total_pressure()
Total Pressure Per Frame
pr_calc_loaded_count()
Loaded Cell Count Per Frame
pr_calc_cop_grid()
Center of Pressure in Grid Index Units
pr_calc_pci()
Peak/Mean Pressure Concentration Index
pr_ref_pci()
Pressure Concentration Index Interpretation Bands

Per-Sensor Maps

Time-averaged per-sensor statistics, feature matrices, and streaming cohort summaries.

pr_sensor_map()
Per-Sensor Statistics Over Time
pr_profile_matrix()
Per-Sensor Feature Matrix for a Dataset
pr_batch_frame_summary()
Per-Recording Frame Summary for a Whole Cohort

Sensor Quality and Gradients

pr_sensor_quality()
Per-Sensor Hardware Quality Across a Cohort
pr_calc_gradient()
Spatial Pressure Gradient Magnitude

Zones and Symmetry

Row-band masks with an explicit split, zone statistics on the time-averaged map, and symmetry with a mirror-balance control.

pr_mask_rowbands()
Row-Band Region Masks With an Explicit Split
pr_calc_regional_map()
Zone Statistics of the Time-Averaged Sensor Map
pr_calc_symmetry_map()
Left/Right Asymmetry of the Time-Averaged Sensor Map
pr_mask_mirror_balance()
Largest Mirror-Symmetric Subset of a Mask
pr_symmetry_sensitivity()
Asymmetry Index Across a Family of Masks
pr_calc_cop_masked()
Centre of Pressure Per Region

Temporal Structure

Spectra and oscillation-based stride detection, for continuously loaded sensors that never unload between contacts.

pr_calc_spectrum()
Power Spectrum of a Frame-Level Signal
pr_calc_dominant_freq()
Dominant Oscillation Frequency in a Band
pr_calc_stride_cycles()
Segment a Recording into Stride Cycles
pr_calc_phase_map()
Sensor Map Averaged Over the Stride Cycle
pr_cop_shape()
Loop Geometry of a COP Trajectory

Provenance and Design Integrity

pr_lock_table()
Lock a Table's Content and Shape
pr_verify_lock()
Verify a Table Against Its Lock File
pr_validate_summary()
Two-Tier Data Frame Validation
pr_factor_contract()
Assert the Level Sets of Design Factors
pr_design_gaps()
Observed Design Cells Against the Full Crossing