get_stats_multi | R Documentation |
ggplot2
friendly
data format.Helper to prepare the bootstrapped metric output of one or more
webs/networks from boot_specieslevel
,
boot_networklevel_n
or
boot_specieslevel_n
in a format ready for
ggplot
. See the examples section of
boot_specieslevel
.
get_stats_multi(webs_stats)
webs_stats |
A list of bootstrap results from
|
A list of two data frames to be used with ggplot
.
First one, stats_df
is a 5 columns data frame, containing for each network
(web
) the sample size (spl_size
) at each iteration and the corresponding
mean metric (mean
), together with its bootstrap confidence interval limits
(ci_low
, ci_up
). The second one, lines_df
, contains all the
bootstrapped values (value
) of a given network metric at each iteration
(simulation_id
) and its corresponding sample size (spl_size
). Can be
used for enhancing visual effect when plotting the mean bootstrap values.
# See example section of ?boot_specieslevel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.