Description Usage Arguments Details
Internal validator + calculator function.
1 |
x |
drug_effects object |
Checks that doses are non-negative, fraction affected is between (0,1), equal length vector of at least two doses and effects, ratio positive (if present).
Also calculates log(D) and log(fa / (1-fa)), fits a linear model, and calculates b, m, Dm (median effect dose), and R^2 statistic (as well as R).
Returns the drug_effects object augmented with the additional calculated information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.