Skip to contents

Usage

clinmon(
  data,
  time_var = NULL,
  abp = NULL,
  mcav = NULL,
  icp = NULL,
  cpp = NULL,
  hr = NULL,
  freq = 1000,
  blocksize = 3,
  epochsize = 20,
  output_level = "period",
  overlapping = FALSE,
  blockmin = 0.5,
  epochmin = 0.5,
  fast_processing = FALSE,
  show_summary = TRUE,
  show_detailed = FALSE
)

Arguments

data

The data as a data frame with continuous monitoring data. First column must be time in seconds, followed by physiological variables.

time_var

Time variable in seconds. This should be the first column and contain continuous time measurements from the monitoring system.

abp

Arterial blood pressure measurements in mmHg. Used for calculating multiple hemodynamic indices including PRx, Mx, Sx, Dx, CVRi, and COest.

mcav

Middle cerebral artery blood velocity measurements. Used for calculating Mx, Sx, Dx, CVRi, PI, and RI indices.

icp

Intracranial pressure measurements in mmHg. Used for calculating PRx and CPPopt indices when combined with arterial blood pressure.

cpp

Cerebral perfusion pressure measurements in mmHg. Alternative to ICP for calculating Mx, Sx, and Dx indices.

hr

Heart rate measurements in beats per minute. Used for calculating estimated cardiac output (COest).

freq

Frequency of recorded data in Hz. Default is 1000 Hz for high-resolution monitoring systems. Adjust based on your data collection frequency.

blocksize

Length of a block in seconds. Blocks are the fundamental units for calculating indices. Default is 3 seconds.

epochsize

Size of epochs in number of blocks. Epochs aggregate multiple blocks for correlation-based indices. Default is 20 blocks.

output_level

Select what each output row should represent: - Period: Analysis periods (requires trigger data) - Epoch: Epoch-level results (correlation indices available) - Block: Block-level results (no correlation indices) - CPPopt: Optimal cerebral perfusion pressure analysis

overlapping

Enable overlapping calculations for correlation-based indices. This can improve temporal resolution but increases computation time.

blockmin

Minimum measurements required to create a block as a percentage. Blocks with less data will be omitted. Default is 50\

epochminMinimum blocks required to create an epoch as a percentage. Epochs with fewer blocks will be omitted. Default is 50\fast_processingEnable fast processing by aggregating data before analysis. This speeds up computation but may reduce precision.show_summaryDisplay summary statistics for calculated hemodynamic indices.show_detailedDisplay detailed results table with all calculated indices for each time period/epoch/block. A results object containing:

results$instructionsa html
results$summary_statsa html
results$detailed_resultsa html
Calculates hemodynamic indices from continuous clinical monitoring data. Uses the clintools package to compute COest, CPPopt, CVRi, Dx, Mx, PI, PRx, PWA, RI, and Sx from continuous recordings of arterial blood pressure, intracranial pressure, middle cerebral artery blood velocity, and heart rate.