patient_boxplot: Visualize patient time series data in boxplot

View source: R/data_prep_and_process.R

patient_boxplotR Documentation

Visualize patient time series data in boxplot

Description

Visualize patient(s) time series from a preprocessed list with in a boxplot, either as normalized or non-normalized for an indicated parameter.

Usage

patient_boxplot(plist, patients, parameter, normalize)

Arguments

plist

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

patients

Patient_ID(s) referring to (a) list element; can be single ID or multiple IDs (also see function: patient_list)

parameter

Parameter of interest in list element(s)

normalize

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

Value

Visualized patient(s) time series data in a boxplot 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_boxplot(list,c("ID_2","testpat_1","testpat_2","a301"), "FEV1")


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