xrd_ggplot_add_peak_pos: add marks for XRD peak positions (tth) to gglot XRD graph

View source: R/gixrd_ggplot.R

xrd_ggplot_add_peak_posR Documentation

add marks for XRD peak positions (tth) to gglot XRD graph

Description

add marks for XRD peak positions (tth) to gglot XRD graph

Usage

xrd_ggplot_add_peak_pos(p, peaks_df, stick_y = c(-100, 0))

Arguments

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

Value

pp ggplot graphics (XRD difractogram)

Author(s)

K. Juraic

Examples

## Not run: xrd_ggplot_add_peak_pos(p, df, c(0,100))

kjuraic/rgixrd documentation built on June 19, 2022, 3:21 a.m.