Radiation Safety
Overview
Provides functions for radiation safety, also known as "radiation protection" and "radiological control". The science of radiation protection is called "health physics" and its engineering functions are called "radiological engineering". Functions in this package cover many of the computations needed by radiation safety professionals. Examples include: obtaining updated calibration and source check values for radiation monitors to account for radioactive decay in a reference source, simulating instrument readings to better understand measurement uncertainty, correcting instrument readings for geometry and ambient atmospheric conditions. Many of these functions are described in Johnson and Kirby (2011, ISBN-13: 978-1609134198). Utilities are also included for developing inputs and processing outputs with radiation transport codes, such as MCNP, a general-purpose Monte Carlo N-Particle code that can be used for neutron, photon, electron, or coupled neutron/photon/electron transport (Werner et. al. (2018) doi:10.2172/1419730).
***2026-07-13***
Added minimum energy argument for RN_plot_spectrum to use with photon plots. This is to allow removal of high levels of X-rays that sometimes is present in such plots.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 36 (2 internal)includes a package overview page
- Examples that run
- 85%28 run in a plain check · 2 never run · 3 hold no code
- Exported functions with examples
- 97%
- Documented parameters
- 95%
- Return-value docs
- 91%
- Help pages citing references
- 3%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/markhogue/radsafer on 2026-10-11.
Dependencies
Installing radsafer adds 41 packages (19 with compiled code, 38 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, RadData 5.4 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.4.1Latest
- RR 4.6.0 released · 2026-04-24
- 2.4.02025-12-03 · diff ↗ ·
removed 3 exports
mcnp_si_sp_RD, mcnp_si_sp_hist, mcnp_si_sp_hist_scanadded 1 export
RN_plot_df - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.3.0
- 2.2.8
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 2.2.62022-02-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.2.52021-04-12 · diff ↗
- 2.2.42021-01-04 · diff ↗
- 2.2.3
- 2.2.22020-07-24 · diff ↗
- 2.2.12020-06-10 · diff ↗ ·
removed 4 exports
bin_screen_phot, search_alpha_by_E, search_beta_by_E, search_phot_by_Eadded 1 export
RN_bin_screen_phot
Show 8 earlier eventsHide 8 earlier events
- RR 4.0.0 released · 2020-04-24
- 2.2.02020-02-28 · diff ↗ ·
removed 5 exports
RN_plt, dk_activity, dk_cf, dk_reverse, scan2spec.dfadded 8 exports
RN_plot_search_results, RN_plot_spectrum, RN_save_spectrum, RN_search_alpha_by_E, RN_search_beta_by_E, RN_search_phot_by_E, mcnp_scan2plot, mcnp_scan_save - 2.1.02019-12-18 · diff ↗ ·
removed 2 exports
mcnp_si_hist, mcnp_sp_histadded 4 exports
RN_find_parent, dk_correct, mcnp_si_sp_hist, mcnp_si_sp_hist_scan - 2.0.12019-05-27 · diff ↗
- 2.0.02019-05-06 · diff ↗ ·
removed 7 exports
dk_pct_to_num_t_h, plot_spec_from_hist, rot_fun, si_hist, sp_hist, tan_d2, tau_estadded 18 exports
%>%, RN_Spec_Act, RN_index_screen, RN_info, RN_plt, bin_screen_phot, mcnp_cone_angle, mcnp_est_nps, mcnp_matrix_rotations, mcnp_plot_out_spec, mcnp_scan2spec, mcnp_si_hist, mcnp_si_sp_RD, mcnp_sp_hist, search_alpha_by_E, search_beta_by_E, search_phot_by_E, tau_estimate - RR 3.6.0 released · 2019-04-26
- 1.0.02019-04-04
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-04
- Total releases
- 15 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 0.6 KB / 1 file
- Download size
- 313 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("radsafer")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.