hillclimbplot: Plot the hillclimber trajectory

Description Usage Arguments Methods (by class) Examples

Description

Plot the hillclimber trajectory

Usage

1
2
3
4
hillclimbplot(x, ...)

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

Arguments

x

An object of class 'slouch'

...

Additional arguments passed to 'plot.default(...)'

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
library(slouch)
library(ape)

data(neocortex)
data(artiodactyla)

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

m0 <- slouch.fit(phy = artiodactyla,
                species = neocortex$species,
                response = neocortex$neocortex_area_mm2_log_mean,
                mv.response = neocortex$neocortex_se_squared,
                hillclimb = TRUE)
                
hillclimbplot(m0)

m1 <- brown.fit(phy = artiodactyla,
               species = neocortex$species,
               response = neocortex$neocortex_area_mm2_log_mean,
               mv.response = neocortex$neocortex_se_squared,
               hillclimb = TRUE)
               
hillclimbplot(m1)

slouch documentation built on Feb. 21, 2020, 5:08 p.m.