plot.mob_out | R Documentation |
get_delta_stats
.Plot the multiscale MoB analysis output generated by get_delta_stats
.
## S3 method for class 'mob_out'
plot(
x,
stat = "b1",
log2 = "",
scale_by = NULL,
display = c("S ~ effort", "effect ~ grad", "stat ~ effort"),
eff_sub_effort = TRUE,
eff_log_base = 2,
eff_disp_pts = TRUE,
eff_disp_smooth = FALSE,
...
)
x |
a mob_out class object |
stat |
a character string that specifies what statistic should be used
in the effect size plots. Options include: |
log2 |
a character string specifying if the x- or y-axis should be
rescale by log base 2. Only applies when |
scale_by |
a character string specifying if sampling effort should be
rescaled. Options include: |
display |
a string that specifies what graphical panels to display. Options include:
Defaults to |
eff_sub_effort |
Boolean which determines if only a subset of efforts
will be considered in the plot of effect size (i.e., when
|
eff_log_base |
a positive real number that determines the base of the logarithm that efforts were be distributed across, the larger this number the fewer efforts will be displayed. |
eff_disp_pts |
Boolean to display the raw effect points, defaults to TRUE |
eff_disp_smooth |
Boolean to display the regressions used to summarize the linear effect of the explanatory variable on the effect sizes, defaults to FALSE |
... |
parameters passed to other functions |
plots the effect of the SAD, the number of individuals, and spatial aggregation on the difference in species richness
Dan McGlinn and Xiao Xiao
data(inv_comm)
data(inv_plot_attr)
inv_mob_in = make_mob_in(inv_comm, inv_plot_attr, coord_names = c('x', 'y'))
inv_mob_out = get_delta_stats(inv_mob_in, 'group', ref_level='uninvaded',
type='discrete', log_scale=TRUE, n_perm=4)
plot(inv_mob_out, 'b1')
plot(inv_mob_out, 'b1', scale_by = 'indiv')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.