patient_ts_plot: Visualize patient data in time series plot

View source: R/data_prep_and_process.R

patient_ts_plotR Documentation

Visualize patient data in time series plot

Description

Visualize patient time series data from a preprocessed in a time series plot for an indicated parameter, either as normalized or non-normalized.

Usage

patient_ts_plot(plist, Patient_ID, parameter, normalize)

Arguments

plist

List storing patient time series data (also see function: patient_list)

Patient_ID

Patient_ID referring to a list element (also see function: patient_list)

parameter

Parameter of interest in list element

normalize

TRUE/FALSE if z-normalization is required (TRUE by default)

Value

Visualized patient time series data in a time series plot for indicated parameter

Examples

list <- patient_list(
"https://raw.githubusercontent.com/MrMaximumMax/FBCanalysis/master/demo/phys/data.csv",
GitHub = TRUE)
#Sampling frequency is supposed to be daily
patient_ts_plot(list,"testpat_1","PEF")


MrMaximumMax/FBCanalysis documentation built on June 23, 2022, 8:21 p.m.