Tidying methods for TMB models
# S3 method for TMB tidy(x, effect = c("fixed", "random"), conf.int = FALSE, conf.level = 0.95, conf.method = c("wald", "uniroot", "profile"), ...)
An object of class TMB (you may need to use class(obj) <- "TMB" on your results from TMB)
TMB
class(obj) <- "TMB"
which effects should be returned?
whether to include a confidence interval
confidence level for CI
method for computing confidence intervals
extra arguments (not used)
# NOT RUN { 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") } # }
Run the code above in your browser using DataLab