Learn R Programming

serosv (version 1.1.0)

compare_models: Compare models

Description

Compare models

Usage

compare_models(...)

Value

a data.frame of 4 columns

model

name or index of the model

type

model type of the given model (a serosv model name)

AIC

AIC value for the model (lower value indicates better fit)

BIC

BIC value for the model (lower value indicates better fit)

Arguments

...

models to be compared. Must be models created by serosv. If models' names are not provided, indices will be used instead for the `model` column in the returned data.frame.