Learn R Programming

parameters (version 0.4.0)

print: Print model parameters

Description

A print()-method for objects from model_parameters().

Usage

# S3 method for parameters_model
print(x, pretty_names = TRUE, split_components = TRUE, ...)

Arguments

x

An object returned by model_parameters().

pretty_names

Pretty parameters' names.

split_components

Logical, if TRUE (default), For models with multiple components (zero-inflation, smooth terms, ...), each component is printed in a separate table. If FALSE, model parameters are printed in a single table and a Component column is added to the output.

...

Arguments passed to or from other methods.

Value

NULL

Examples

Run this code
# NOT RUN {
library(parameters)
library(glmmTMB)

model <- glmmTMB(
  count ~ spp + mined + (1 | site),
  ziformula = ~mined,
  family = poisson(),
  data = Salamanders
)
mp <- model_parameters(model)

print(mp, pretty_names = FALSE)

print(mp, split_components = FALSE)
# }

Run the code above in your browser using DataLab