RN_plot_search_results: Plot results of RN_search functions

View source: R/RN_plot_search_results.R

RN_plot_search_resultsR Documentation

Plot results of RN_search functions

Description

Plots results by radionuclide with E_MeV on x-axis and prob on y-axis.

Usage

RN_plot_search_results(
  discrete_df,
  title = deparse(substitute(discrete_df)),
  log_plot = 0
)

Arguments

discrete_df

A data frame results from a radsafer search function. Columns must include RN, E_MeV, and prob, and code_AN.

title

Title for chart (default = name of search_results)

log_plot

0 = no log axes (default), 1 = log y-axis, 2 = log both axes.

See Also

Use RN_search_alpha_by_E(), RN_search_beta_by_E(), or RN_search_phot_by_E() and save the results, e.g. save_results <- RN_search_phot_by_E(0.99, 1.01, 13 * 60, 15 * 60, 1e-4)

Other radionuclides: RN_Spec_Act(), RN_bin_screen_phot(), RN_index_screen(), RN_info(), RN_plot_spectrum(), RN_save_spectrum(), RN_search_alpha_by_E(), RN_search_beta_by_E(), RN_search_phot_by_E()

Examples

search_results <- RN_search_phot_by_E(0.99, 1.01, 13 * 60, 15 * 60, 1e-4)
RN_plot_search_results(search_results, title = "example1", log_plot = 0)

radsafer documentation built on July 26, 2023, 6:03 p.m.