fit_timecourse | R Documentation |
Fit the parameters of a sigmoid or impulse model to a set of time points.
fit_timecourse(
timecourse_parameters,
timepts = seq(0, 90, by = 1),
model = "sigmoid",
fit.label = "fit"
)
timecourse_parameters |
a one row tibble containing each kinetic parameter as a separate column. |
timepts |
a numeric vector of timepoints to fit |
model |
sigmoid or impulse |
fit.label |
fitted values variable name |
timecourse_parameters <- tibble::tibble(t_rise = 25, rate = 0.25, v_inter = 3,
v_final = -3, t_fall = 45)
timecourse_parameters <- tibble::tibble(t_rise = 45, rate = 1, v_inter = 3)
fit_timecourse(timecourse_parameters, model = "sigmoid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.