predict.eadrm | R Documentation |

Similar to other predict methods, this function predicts fitted values (and optionally confidence intervals) for a eadrm object.

## S3 method for class 'eadrm' predict(object, newx = object$xvals, ci.obj = NULL, ...)

`object` |
Fitted model of class eadrm. |

`newx` |
Vector of new concentration values at which predictions are to be made. Defaults to the concentration values that were used to fit the model. |

`ci.obj` |
Output from eadrm.ci that is used to compute confidence intervals. Defaults to NULL, in which case no confidence intervals are computed. |

`...` |
Additional arguments passed to or from other methods. Currently ignored. |

If no confidence intervals are requested, a vector of predicted responses for each concentration in newx is returned. Otherwise returns a list of three vectors yhat.med, yhat.l95, and yhat.u95, which correspond to the median predicted response and lower/upper 95% confidence bounds for each concentration in newx.

`eadrm`

, `eadrm.ci`

ea.fit <- eadrm(CarboA$y, CarboA$x) predict(ea.fit)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.