Learn R Programming

MetaDose (version 1.0.1)

dose: Print and Plot Methods for Dose-Response Meta-Regression Objects

Description

S3 methods for objects of class `dose` returned by `mdcont()` and `mdbin()` functions.

  • print.dose displays summaries of the fitted linear and/or nonlinear dose-response meta-regression models.

  • plot.dose visualizes the fitted dose-response curves produced by the meta-regression models.

Usage

# S3 method for dose
print(x, model = c("both", "linear", "nonlinear"), ...)

# S3 method for dose plot(x, model = c("both", "linear", "nonlinear"), ...)

Value

Both methods are called for their side effects.

  • print.dose prints model summaries to the console.

  • plot.dose draws dose-response plots in the active graphics device.

The original object x is returned invisibly.

Arguments

x

An object of class "dose" returned by mdcont or mdbin.

model

Character string specifying which model results to display. Options are "both", "linear", or "nonlinear".

...

Additional arguments (currently unused).

Author

Ahmed Abdelmageed ahmedelsaeedmassad@gmail.com

See Also

mdcont, mdbin