Effect.sdmTMB | R Documentation |
Used by effects package
Effect.sdmTMB(focal.predictors, mod, ...)
focal.predictors |
a character vector of one or more predictors in the model in any order. |
mod |
a regression model object. If no specific method exists for the class of |
... |
arguments to be passed down. |
Output from effects::effect()
. Can then be plotted with with associated
plot()
method.
fit <- sdmTMB(present ~ depth_scaled, data = pcod_2011, family = binomial(),
spatial = "off")
effects::effect("depth_scaled", fit)
plot(effects::effect("depth_scaled", fit))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.