table_param_phi_mpd: Create a table comparing phi parameter

View source: R/table-param-phi-mpd.R

table_param_phi_mpdR Documentation

Create a table comparing phi parameter

Description

Make a table of comparisons of estimates of the phi parameter for the Dirichlet Multinomial for MPD models.

Usage

table_param_phi_mpd(
  model,
  format = "latex",
  yrs = NULL,
  digits = 2,
  col_widths = "5em",
  ret_df = FALSE,
  by_sex = FALSE,
  ...
)

Arguments

model

An iSCAM model as output from load_iscam_files()

format

See argument in knitr::kable()

yrs

A vector of years to include in the table. If NULL, all will be included

digits

Number of digits to show

col_widths

Widths for columns, except the Parameter column

ret_df

If TRUE, return a data.frame instead of the csasdown::csas_table()

by_sex

If TRUE, the table will have two rows per year, one for each sex. If FALSE, the female value will be used

...

Arguments to pass to csasdown::csas_table()

Value

An csasdown::csas_table()


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.