Learn R Programming

slouch (version 2.1.5)

regimeplot.slouch: Plot the internal regimes for a given fitted model

Description

Plot the internal regimes for a given fitted model

Usage

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

regimeplot(x, ...)

Value

nothing

Arguments

x

an object of class 'slouch'

...

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

Methods (by class)

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

Examples

Run this code

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)

Run the code above in your browser using DataLab