Description Usage Arguments Value See Also Examples
View source: R/estimate_conj_rate.R
estimate_conj_rate
returns the conjugation
rate estimates from data.
1 2 3 4 5 6 | estimate_conj_rate(
data,
method = c("SM", "ASM"),
id_cols = c("ID"),
verbose = T
)
|
data |
Dataframe. Required columns vary depending on the method used to estimate the conjugation rates. The following columns are typically required: D.t, R.t, T.t are final population sizes; D.0, R.0 are initial pop sizes; psi.D, psi.R, psi.T are growth rates; t is the time of measurement (assumes start at 0). Optional columns: T.0, psi.max (for the Simonsen method). |
method |
String or list of strings. Describes method(s) used to estimate the conjugation rate. Takes the following values:
|
id_cols |
List of strings. Column names in the data that should be treated as identifiers (will be returned in output). |
verbose |
Boolean. Should the method return warnings? |
Dataframe with the conjugation rate estimates. Contains 3 columns: sample IDs, estimates, methods.
estimate_crit_time
for estimation of the
critical time.
1 2 | estimate_conj_rate(DRT_example)
estimate_conj_rate(DRT_example, method = c('SM', 'T_DR', 'Dionisio'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.