I interpreted the to be that predict.drc was expecting a third
argument, curveid, which had no default, and that creating a
dataframe like this was going to solve the problem.
> newdt <- data.frame( conc= seq(0.2, 9, 0.01) , CURVE=1)
> prd.p <- predict(fit, newdata=newdt, curveid=CURVE,
in
Brant,
See below.
On 2010-11-28 12:25, David Winsemius wrote:
Puzzled. Why are the data you offer to predict() for the independent
variable, conc, all NA's? Is there something reversed or inverted
about how drc functions handle formulas.
-- David. On Nov 28, 2010, at 2:33 PM, Brant Inman wrote:
Puzzled. Why are the data you offer to predict() for the independent
variable, conc, all NA's? Is there something reversed or inverted
about how drc functions handle formulas.
--
David.
On Nov 28, 2010, at 2:33 PM, Brant Inman wrote:
R-helpers,
I recently submitted a help request for the
R-helpers,
I recently submitted a help request for the predict.drm function found in the
drc package. I am still having issues with the function and I am submitting
reproducible code hoping that somebody can help me figure out what is going on.
library(drc)
# Fit a 4 parameter logist
4 matches
Mail list logo