Description Usage Arguments References Examples
View source: R/plot.snowboot.R
Plot LSMI-based point estimates of probabilities of node degrees, \hat{f}(k), and
of mean degree, \hat{μ}, where k = 0, 1, … are the degrees.
The point estimates are supplemented with box-and-whisker plots
of bootstrapped values (if the input is a boot_dd
output) or element-wise
bootstrap confidence intervals (if the input is a boot_ci
output).
See \insertCitechen_etal_2018_snowboot;textualsnowboot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## S3 method for class 'snowboot'
plot(
x,
k = NULL,
plotmu = TRUE,
plotlegend = TRUE,
col0 = "gray50",
lwd0 = 1,
colpt = "royalblue3",
lwdpt = 2,
pchpt = 4,
coli = "palegreen3",
colibg = "palegreen",
length = 0.1,
boxwex = 0.4,
legendargs = list(x = "topright", cex = 0.9, bty = "n"),
las = 1,
...
)
|
x |
output of |
k |
an integer vector with degrees to plot.
By default, all degrees represented in |
plotmu |
logical value indicating whether to plot the results for mean degree
(default is |
plotlegend |
logical value indicating whether to plot a legend
(default is |
col0 |
color to plot horizontal zero-line at f(k) = 0.
Use |
lwd0 |
width of the horizontal zero-line at f(k) = 0. |
colpt |
color for plotting point estimates. |
lwdpt |
line width for plotting point estimates. |
pchpt |
point type for plotting point estimates
(see argument |
coli |
color for plotting lines or borders of box-plots for bootstrap estimates. |
colibg |
background color, if plotting boxplots of bootstrapped estimates
(see argument |
length |
length of arrows, if plotting bootstrap confidence intervals
(see argument |
boxwex |
argument of |
legendargs |
additional arguments for plotting the legend
(see arguments in |
las |
argument of |
... |
additional arguments to pass to the |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.