Learn R Programming

ShiVa (version 1.0.1)

summary.ShiftModel: Summary of a ShiVa Shift Model

Description

Generate a summary of a fitted ShiVa model object, including estimated parameters and details of detected shifts in optimal trait value (mean) and evolutionary variance.

Usage

# S3 method for ShiftModel
summary(object, ...)

Value

An object of class summary.ShiftModel, which includes:

  • alpha: Estimated selection strength parameter.

  • sigma2: Estimated diffusion variance.

  • loglik: Log-likelihood of the fitted model.

  • BIC: Bayesian Information Criterion.

  • mean_shifts: A data frame of branches with shifts in optimal value.

  • var_shifts: A data frame of branches with shifts in evolutionary variance.

Arguments

object

An object of class ShiftModel, typically returned by functions such as fit_OU_mean_var(), or extracted as best_model from get_mean_var_shifts_model_selection() or ShiVa().

...

Additional arguments (currently unused).