xrd_ggplot_add_peak_pos | R Documentation |
add marks for XRD peak positions (tth) to gglot XRD graph
xrd_ggplot_add_peak_pos(p, peaks_df, stick_y = c(-100, 0))
p |
ggplot XRD graph |
peaks_df |
data.frame with column tth (xrd peaks possitions) |
stick_y |
(y_min, y(max)) y coordinates of stick stard and end |
pp ggplot graphics (XRD difractogram)
K. Juraic
## Not run: xrd_ggplot_add_peak_pos(p, df, c(0,100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.