plot.slouch | R Documentation |
Graphical plot of parameter space traversed by the grid search.
## S3 method for class 'slouch'
plot(x, theta = 30, phi = 30, expand = 0.5, shade = 0.75, ...)
x |
An object of class 'slouch' |
theta , phi |
angles defining the viewing direction.
|
expand |
a expansion factor applied to the |
shade |
the shade at a surface facet is computed as
|
... |
Additional parameters passed to persp(...) or plot(...) |
data(artiodactyla)
data(neocortex)
neocortex <- neocortex[match(artiodactyla$tip.label, neocortex$species), ]
m0 <- slouch.fit(phy = artiodactyla,
hl_values = seq(0.001, 50, length.out = 15),
vy_values = seq(0.001, 3, length.out = 15),
species = neocortex$species,
response = neocortex$body_mass_g_log_mean,
mv.response = neocortex$body_mass_g_log_varmean,
fixed.fact = neocortex$diet)
plot(m0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.