tidy.TMB {broom.mixed}R Documentation

Tidying methods for TMB models

Description

Tidying methods for TMB models

Usage

## S3 method for class 'TMB'
tidy(
  x,
  effect = c("fixed", "random"),
  conf.int = FALSE,
  conf.level = 0.95,
  conf.method = c("wald", "uniroot", "profile"),
  ...
)

Arguments

x

An object of class TMB (you may need to use class(obj) <- "TMB" on your results from TMB)

effect

which effects should be returned?

conf.int

whether to include a confidence interval

conf.level

confidence level for CI

conf.method

method for computing confidence intervals

...

extra arguments (not used)

Examples

if (require("TMB")) {
    runExample("simple",thisR=TRUE)
    class(obj) <- "TMB"
    tidy(obj,conf.int=TRUE,conf.method="wald")
    tidy(obj,conf.int=TRUE,conf.method="uniroot")
}

[Package broom.mixed version 0.2.6 Index]