add_sims: Add simulations to an R object

View source: R/add_sims.R

add_simsR Documentation

Add simulations to an R object

Description

add_sims was designed with the idea of adding information from two objects that were created by running extractExpDetails_mult, but you can also use it with other R objects. For example, say you ran extractExpDetails_mult with some initial development simulations and then, later, you ran it with some other development simulations another time and now, you want both of those sets of results be combined, maybe because you want to run annotateDetails to compare them.

Usage

add_sims(object_A, object_B)

Arguments

object_A

one R object

object_B

a second R object whose results you want to combine with the first R object. Bothe object_A and object_B must have the same data class, i.e., both must be lists or both data.frames.

Value

the combined R object

Examples

Details <- add_sims(object_A = Details_dev,
                    object_B = Detrails_final)



shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.