summary.ShiftModel: Summary of a ShiVa Shift Model

View source: R/ShiVa.R

summary.ShiftModelR Documentation

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 class 'ShiftModel'
summary(object, ...)

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).

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.


ShiVa documentation built on Aug. 22, 2025, 9:14 a.m.