The package segmented
splits curves
into linear segments, given a list of pre-defined breakpoints.
If the passed data is a biomass measure
(eg. OD), and option log=TRUE
the slopes correspond to local
growth rate (per time unit). Missing (NA) or non-finite
y-values will be removed. segmented
has
a random initialization and sometimes fails. The function will
attempt maxtry
of calls before giving up.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
data |
|
yid |
ID of the |
wells |
subset and plot order of wells |
log |
use ln of the data |
xid |
x-axis data ID in |
man |
apply a moving average |
maxtry |
maximum number of attempts to run
|
control |
a list of parameters for controlling the
|
psis |
named list of breakpoints for wells, generated from
argument |
psi |
vector of breakpoints (x-values) to be passed to
|
npsi |
number of equally spaced breakpoints, used if both
|
plot |
plot each fit |
verb |
progress messages |
... |
arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.