load_pliance: Load pliance data

View source: R/pressuRe_functions.R

load_plianceR Documentation

Load pliance data

Description

Imports and formats .asc files collected on pliance system and exported from Novel software

Usage

load_pliance(pressure_filepath)

Arguments

pressure_filepath

String. Filepath pointing to pliance pressure file

Value

A list with information about the pressure data.

  • pressure_array. 3D array covering each timepoint of the measurement. z dimension represents time

  • pressure_system. String defining pressure system

  • sens_size. String with sensor type

  • time. Numeric value for time between measurements

  • masks. List

  • events. List

  • sensor_polygons. Data frame with corners of sensors

  • max_matrix. Matrix

Examples

pliance_data <- system.file("extdata", "pliance_test.asc", package = "pressuRe")
pressure_data <- load_pliance(pliance_data)

pressuRe documentation built on May 29, 2024, 9:24 a.m.