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,
effects = c("fixed", "random"),
conf.int = FALSE,
conf.level = 0.95,
conf.method = c("wald", "uniroot", "profile"),
...
)
Arguments
x |
An object of class |
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")
}
[Package broom.mixed version 0.2.9.5 Index]