plot_fitr: plot fits generated with gcfit and selected with pickfit

View source: R/lFitFunctions.R

plot_fitrR Documentation

plot fits generated with gcfit and selected with pickfit

Description

plot all fits, or only a selection using the select argument.

Usage

plot_fitr(
  bestfit,
  fits,
  data,
  od_name,
  time_name,
  interactive = TRUE,
  select = FALSE,
  sample_size = 5,
  save = FALSE
)

Arguments

bestfit

data.frame with best fit generated by pickfit

fits

data.frame containing fits generated by gcfit

data

long-form data frame with growth data

od_name

name of column containing OD values

time_name

name of column containing times (in units after start of experiment)

interactive

boolean; Should every plot be shown? Advance to next plot by clicking in plot area.

select

Either a vector containing IDs of a selection of fits to plot (IDs not found in data are quietly ignored), or one of c("sample","sampleQ","failed"). "sample" will draw an uniform sample of size sample_size. "sampleQ" will draw a total (rounded) of sample_size samples split over growthrate (mumax) sample quantiles. "failed" will display fits were no best fit could be selected. Defaults to FALSE, showing all fits.

sample_size

Size of sample to draw, defaults to the arbitrary number of 5

Output

none


dcangst/fitr documentation built on Sept. 9, 2022, 3:30 p.m.