tidy.TMB: Tidying methods for TMB models

View source: R/TMB_tidiers.R

tidy.TMBR Documentation

Tidying methods for TMB models

Description

Tidying methods for TMB models

Usage

## S3 method for class 'TMB'
tidy(
  x,
  effects = 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)

effects

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

...

additional arguments passed to confint function (tmbroot, tmbprofile)

Examples

if (require("TMB")) {

    ## Not run: 
       runExample("simple",thisR=TRUE)
       class(obj) <- "TMB"
       tidy(obj,conf.int=TRUE,conf.method="wald")
    
## End(Not run)
    ## Not run: tidy(obj,conf.int=TRUE,conf.method="uniroot")
    ## Not run: tidy(obj,conf.int=TRUE,conf.method="profile")
}

broom.mixed documentation built on Oct. 16, 2024, 1:06 a.m.