Description Usage Arguments Value Author(s) Examples
Function to generate a table of EC values from a data frame of multiple isolates.
1 2 |
x |
a data frame that has at least the columns listed in the |
form |
a formula specifying the column names for the response and dose. Defaults to NULL. |
model |
one of 4 options:
|
response |
a numeric vector specifying what EC values you want to calculate. |
idcol |
the name of the column that identifies the samples (case sensitive). |
result |
What result do you want returned? Default is "df" for a data frame of summary values. If you want the models returned, choose "model". If you want the summary output of the model, choose "summary". |
plot |
if |
... |
parameters passed on to |
a data frame that contains EC estimates and standard errors in columns and samples in rows.
Zhian N. Kamvar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(dummydata)
# Using 3 parameter Log-Logistic Model (default)
EC_table(dummydata, form = response ~ dose)
# Using 4 parameter Weibull Model.
EC_table(dummydata, form = response ~ dose, model = "W2.4")
# This function really only needs three columns.
newdat <- dummydata[c("ID", "dose", "response")]
EC_table(newdat, form = response ~ dose)
# We can rename them, too.
colnames(newdat) <- c("identity", "dosage", "growth")
EC_table(newdat, form = growth ~ dosage, idcol = "identity")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.