tidy.TMB | R Documentation |
Tidying methods for TMB models
## S3 method for class 'TMB' tidy( x, effects = c("fixed", "random"), conf.int = FALSE, conf.level = 0.95, conf.method = c("wald", "uniroot", "profile"), ... )
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) |
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") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.