AICtable: Take a list of evmOpt objects and return an xtable

Description Usage Arguments Details

View source: R/AICtab.R

Description

Take a list of evmOpt objects and return an xtable

Usage

1
2
3
4
5
6
7
8
AICtable(
  x,
  kable = FALSE,
  digits = 3,
  label = "tab:aic",
 
    caption = "Comparison of various generalized Pareto models in terms of number of coefficients, log-likelihood, AIC and change in deviance from the null model."
)

Arguments

x

A list, each element of which is an object of class "evm". It is assumed that the first element of x is the null model.

kable

Whether to return a kable object. Defaults to kable=FALSE and an xtable object is returned.

digits

The number of significant digits to display.

label

The label to use for the table. Defaults to label='tab:aic'.

caption

The caption for the table.

Details

Use print(res, sanitize.text.function=function(x) x, include.rownames=FALSE).


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.