plot.physio: plot.physio()

Description Usage Arguments Value

View source: R/physio-plot.R

Description

Visualize physio data for one subject. Currently only plot of EDA and ECG data is possible.

Usage

1
2
3
## S3 method for class 'physio'
plot(data, marker, type, subject, start_time,
  physio_unisens_dir)

Arguments

data;

a list of class physio

type;

a char, specify type of physio data you want to plot. Values are "eda" or "ecg". For type "ecg" it's important that physio data is moved to folder *wd*/data/physio/

subject;

a integer, specify subject for which summary should be shown

marker;

a dataframe generate by marker() if type is "eda" or a path if type is "ecg"

start_time;

a POSIXt, minimal time in exp or a web data for the subject which is specified

physio_unisens_dir;

a path, directory where unisense data is created and contains physio csv-files in the subject parameter of this function

Value

dataframe


Fiddleman/BrownieR documentation built on May 6, 2019, 4:36 p.m.