Description Usage Arguments Value Examples
Drawing frequency graph (density plot) and analyzing the out put of
cmpt_auto_freq
or cmpt_freq
.
1 2 3 4 5 6 7 | freq_graph(data, x_min = NA, x_max = NA, y_max = NA,
uncertainty = TRUE, rug_plot = 1, graphic_theme = 1, grid = 1,
xlab = "Age (Ma)", ylab = "frequency", grid_color = "grey30",
area_color = "grey80", line_color = "black",
rug_plot_color = rgb(0, 0, 0, alpha = 0.6), hist = FALSE,
hist_bin = as.integer(50), hist_height = 0.2, hist_color = rgb(1,
0.62, 0, alpha = 0.6), analyze = FALSE)
|
data |
list data of the result of functions; |
x_min |
numeric; the smallest end point of x axis. |
x_max |
numeric; the largest end point of x axis. |
y_max |
numeric; the largest end point of y axis. |
uncertainty |
logical; if |
rug_plot |
apply data points' shape of rug plot.
|
graphic_theme |
one of either:
|
grid |
one of either (only used if
|
xlab |
a text style title for the x axis. Defaults to "Age (Ma)". |
ylab |
a text style title for the y axis, only used if
|
grid_color |
the color to be used for grid, only used if
|
area_color |
the color to be used for 95 percent confident interval
area, only used if |
line_color |
the color to be used for estimate line. Defaults to "black". |
rug_plot_color |
the color to be used for rug plot. Defaults to rgb(0, 0, 0, alpha = .6). |
hist |
logical; if |
hist_bin |
integer, larger than 0. Number of histogram bins. Only used
if |
hist_height |
numeric, between 0 and 1. If |
hist_color |
the color to be used for histgrams. Defaults to rgb(1,
0.62, 0, alpha = .6). Only used if |
analyze |
logical; if |
data.frame of the x-coordinats and height of peaks. Only
returned if analyze =TRUE
.
1 2 3 | d <- Osayama
e <- cmpt_freq(d,rho=3,sigma=2)
freq_graph(e)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.