null_fit: Convert data to class breathtestfit

View source: R/null_fit.R

null_fitR Documentation

Convert data to class breathtestfit

Description

Does not change the data set, but returns a class suitable for plotting raw data with plot.breathtestfit. See read_any_breathtest for an example.

Usage

null_fit(data, ...)

Arguments

data

Data frame or tibble as created by cleanup_data, with mandatory columns patient_id, group, minute and pdr.

...

Not used

Value

A list of classes breathtestnullfit, breathtestfit with element data which contains the unmodified data.


breathtestcore documentation built on Feb. 16, 2023, 10:42 p.m.