regimeplot: Plot the internal regimes for a given fitted model

View source: R/methods.R

regimeplot.slouchR Documentation

Plot the internal regimes for a given fitted model

Description

Plot the internal regimes for a given fitted model

Usage

## S3 method for class 'slouch'
regimeplot(x, ...)

regimeplot(x, ...)

Arguments

x

an object of class 'slouch'

...

additional parameters passed to plot.phylo(...)

Value

nothing

Methods (by class)

  • regimeplot(slouch): Regimeplot for the 'slouch' object

Examples


data(artiodactyla)
data(neocortex)

neocortex <- neocortex[match(artiodactyla$tip.label, neocortex$species), ]

m0 <- slouch.fit(phy = artiodactyla,
                 species = neocortex$species,
                 response = neocortex$body_mass_g_log_mean,
                 mv.response = neocortex$body_mass_g_log_varmean,
                 fixed.fact = neocortex$diet,
                 hillclimb = TRUE)
                 
regimeplot(m0)


bjornkopperud/slouchexp documentation built on Feb. 16, 2024, 4:49 a.m.