plot_blooddata: Plot a blooddata object

View source: R/kinfitr_blooddata.R

plot_blooddataR Documentation

Plot a blooddata object

Description

Plot a blooddata object

Usage

plot_blooddata(
  blooddata,
  startTime = 0,
  stopTime = NULL,
  interpPoints = 6000,
  colours = c("#ff321b", "#1bff7e", "#501bff", "#ffa81b")
)

Arguments

blooddata

A blooddata object, to which all the desired fits have been applied and added.

startTime

The starting time for the interpolation. Defaults to zero. If, after application of the TimeShift value in the blooddata object, the startTime is still after zero, it will be set to zero.

stopTime

The end time for the interpolation. Defaults to the maximum measured time.

interpPoints

The number of points to interpolate over between the start and stop times.

colours

The colours for the plot.

Value

A ggplot2 object

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

## Not run: 
plot_blooddata(blooddata)

## End(Not run)

mathesong/kinfitr documentation built on Jan. 15, 2024, 11:07 p.m.