View source: R/milags_functions.R
plot_lag_fit | R Documentation |
Plots the provided growth curve (one single growth curve) together with the calculated lag and and the rationale for lag calculation
plot_lag_fit(data_new, print_lag_info = TRUE, log10_transform = TRUE)
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 |
ggplot object with a growth curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.