load_ion_data: Loads CSV dataset as a data.frame, dropping entries with...

Description Usage Arguments Details Value Author(s) Examples

View source: R/load_ion_data.R

Description

Meant to handle single-ion CSV datasets.

Usage

1
load_ion_data(filename)

Arguments

filename

String of the CSV filename.

Details

The filename includes the path from the current working directory. CSV should have a numeric "dose" column. Numeric olumns with "Z" for atomic number and "NWeights" are required for compatibility with built in modeling functions.

Value

Data.frame of the selected data file.

Author(s)

Edward Greg Huang <eghuang@berkeley.edu>

Examples

1
2
3
4
# Data used is that in 16Chang plus later NSRL data scored before 3/31/2019.
# The two .csv files contain all input HG data except Y_0
ion_data <- load_ion_data("one_ion.csv")
mix_data <- load_ion_data("mix_ion.csv")

eghuang/synergy documentation built on Dec. 31, 2019, 8:55 a.m.