as.toxEval | R Documentation |
A small collection of helper functions for toxEval
as.toxEval(x, ...)
x |
list or toxEval object |
... |
data frames to override data within the original x list. |
path_to_tox <- system.file("extdata", package = "toxEval")
file_name <- "OWC_data_fromSup.xlsx"
full_path <- file.path(path_to_tox, file_name)
tox_list <- create_toxEval(full_path)
# To over-ride one of the data frames:
chem_data <- data.frame(
CAS = "21145-77-7",
Value = 1,
"Sample Date" = as.Date("2012-01-01"),
SiteID = "USGS-04249000"
)
tox_list_new <- as.toxEval(tox_list, chem_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.