View source: R/plot_breathtestfit.R
plot.breathtestfit | R Documentation |
Plots 13C data and fits.
## S3 method for class 'breathtestfit' plot( x, inc = 5, method_t50 = "maes_ghoos", line_size = 1, point_size = NULL, ... )
x |
object of class |
inc |
Increment for fitted curve plot in minutes |
method_t50 |
Method for t50: " |
line_size |
optional line width; can improve look for printouts |
point_size |
optional point size; determined dynamically when NULL |
... |
other parameters passed to methods. Not used |
data = list( A = simulate_breathtest_data(n_records = 6, seed = 100), B = simulate_breathtest_data(n_records = 4, seed = 187) ) # cleanup_data combines the list into a data frame x = nls_fit(cleanup_data(data)) plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.