View source: R/crest.leave_one_out.R
loo | R Documentation |
Repeat the reconstructions by removing one taxon at a time.
loo(x, climate = x$parameters$climate, verbose = TRUE)
x |
a |
climate |
A vector of the climate variables to extract. See
|
verbose |
A boolean to print non-essential comments on the terminal
(default |
A crestObj
object containing the reconstructions and
all the associated data.
## Not run:
data(crest_ex)
data(crest_ex_pse)
data(crest_ex_selection)
reconstr <- crest(
df = crest_ex, pse = crest_ex_pse, taxaType = 0,
climate = c("bio1", "bio12"), bin_width = c(2, 20),
shape = c("normal", "lognormal"),
selectedTaxa = crest_ex_selection, dbname = "crest_example"
)
reconstr <- loo(reconstr)
## End(Not run)
## example using pre-saved reconstruction obtained with the previous command.
data(reconstr)
lapply(reconstr$reconstructions$bio12$loo, head)
plot_loo(reconstr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.