Description Usage Arguments Value Author(s) See Also
This function displays a one-dimensional distribution function fitted using dffit
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | dfplot2(
survey,
xlab = "Observable x1",
ylab = "Observable x2",
xlim = NULL,
ylim = NULL,
p.ref = NULL,
xpower10 = TRUE,
ypower10 = TRUE,
show.data = TRUE,
show.data.err = TRUE,
show.gdf = TRUE,
show.gdf.contours = TRUE,
show.scd.contours = TRUE,
contour.levels = c(0.5, 0.2, 0.1),
col.data = "black",
cex.data = 0.5,
pch.data = 20,
col.data.err = "#00000030",
lwd.data.err = 1,
lty.data.err = 1,
col.gdf = "blue",
col.gdf.contours = col.gdf,
lwd.gdf.contours = 1,
lty.gdf.contours = 2,
gamma.gdf = 0.2,
col.scd.contours = "purple",
lwd.scd.contours = 1,
lty.scd.contours = 1,
col.ref.contours = "red",
lwd.ref.contours = 1,
lty.ref.contours = 2,
margins = c(5.1, 4.1, 4.1, 2.1)
)
|
survey |
List produced by |
xlab, ylab |
axis labels |
xlim, ylim |
2-element vectors with plotting ranges |
p.ref |
Optional vector of parameters of a reference mdeol to be displayed. |
xpower10 |
If |
ypower10 |
If |
show.data |
Logical flag to show/hide the observed data. |
show.data.err |
Logical flag to show/hide the measurement errors of the |
show.gdf |
Logical flag to show/hide the best fitting model of the generative distribution function as gradual shading. |
show.gdf.contours |
Logical flag to show/hide the best fitting model of the generative distribution function as iso-contours. |
show.scd.contours |
Logical flag to show/hide the source count density (for data with no measurement errors) predicted by the best fitting model. |
contour.levels |
Vector specifying the fractions of the integrated densities contained inside the contours of the gdf and scd. |
col.data |
Color (see |
cex.data |
Size (see |
pch.data |
Point type (see |
col.data.err |
Color (see |
lwd.data.err |
Line width (see |
lty.data.err |
Line type (see |
col.gdf |
Color (see |
col.gdf.contours |
Color (see |
lwd.gdf.contours |
Line width (see |
lty.gdf.contours |
Line type (see |
gamma.gdf |
Scalar value >0 specifying the brightness-scale of the best fitting generative distribution function. |
col.scd.contours |
Color (see |
lwd.scd.contours |
Line width (see |
lty.scd.contours |
Line type (see |
col.ref.contours |
Color (see |
lwd.ref.contours |
Line width (see |
lty.ref.contours |
Line type (see |
margins |
Margins (bottom,left,top,right) |
Returns the input list survey
.
Danail Obreschkow
For an full example of dfplot2
run dfexample(4)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.