Learn R Programming

betaDelta (version 1.0.6)

print.deltamethod: Print Method for an Object of Class deltamethod

Description

Print Method for an Object of Class deltamethod

Usage

# S3 method for deltamethod
print(x, alpha = NULL, digits = 4, ...)

Value

Returns a matrix of coefficients, standard errors, test statistics, degrees of freedom (if z = FALSE), p-values, and confidence intervals.

Arguments

x

Object of class deltamethod.

alpha

Numeric vector. Significance level \(\alpha\). If alpha = NULL, use the argument alpha used in x.

digits

Digits to print.

...

additional arguments.

Author

Ivan Jacob Agaloos Pesigan

Examples

Run this code
object <- glm(
  formula = vs ~ wt + disp,
  family = "binomial",
  data = mtcars
)
def <- list("exp(wt)", "exp(disp)")
out <- DeltaGeneric(
  object = object,
  def = def,
  alpha = 0.05
)
print(out)

Run the code above in your browser using DataLab