td2cs: Create _calisets_ from _tox_data_

td2csR Documentation

Create calisets from tox_data

Description

This is a convenience function which eases the creation of calisets from a base scenario and a tox_data object. The scenario will be used as is. If exposure series are defined by the tox_data object, then these will be assigned to the scenario(s) accordingly.

Usage

td2cs(scenario, data, output_var = NULL)

Arguments

scenario

a base scenario

data

return value of tox_data()

output_var

optional character, rename observed data column to this value

Value

list of calisets

Examples

# Import trial data from Schmitt et al. (2013), including exposure
mydata <- tox_data(schmitt2013)

# Example trial contained in data set: trial 'T0.32'
mydata@data[["T0.32"]]        # observed quantities
mydata@exposure[["T0.32"]]    # associated exposure series

# Create list of calisets from full data set
lst <- td2cs(Lemna_SETAC(), mydata)

# Example caliset representing conditions of trial 'T0.32'
lst[[2]]

cvasi documentation built on Sept. 11, 2025, 5:11 p.m.