contrastNBth {GeoDiff}R Documentation

Generate list of Wald test inference results on user specified contrasts

Description

Generate list of Wald test inference results including contrast estimation and p value

Usage

contrastNBth(object, ...)

## S4 method for signature 'list'
contrastNBth(
  object,
  test = c("two-sided", ">", "<"),
  method = diag(1, ncol(object$X)),
  baseline = rep(0, ncol(method))
)

Arguments

object

DE model, output by fitNBthDE or fitNBthmDE

...

additional argument list that might be used

test

type of statistical test, choose from c("two-sided", ">", "<")

method

contrasts methods, only matrix of contrast vector is allowed for now, default=diag(1,ncol(object$X)), i.e. testing the regression coefficients

baseline

testing baseline, default=0.

Value

Examples

data(NBthmDEmod2)
coeff <- contrastNBth(NBthmDEmod2)

[Package GeoDiff version 1.0.0 Index]