plot_lag_fit {miLAG}R Documentation

plot_lag_fit

Description

Plots the provided growth curve (one single growth curve) together with the calculated lag and and the rationale for lag calculation

Usage

plot_lag_fit(data_new, print_lag_info = TRUE, log10_transform = TRUE)

Arguments

data_new

a data frame output by Calculate.Lag function: it needs to have the following columns: "time", "biomass", "tangent.point", "predicted.data", "threshold", "N0", "second.deriv.b", "line.intercept", "line.slope"

print_lag_info

if set to "TRUE" prints the lag length on the graph

log10_transform

if to plot y axis (biomass) on log10 scale

Value

ggplot object with a growth curve


[Package miLAG version 1.0.2 Index]