loadMultSimCsv: load csv files with simulation results

View source: R/msCsv.R

loadMultSimCsvR Documentation

load csv files with simulation results

Description

Load an object of class multSimCsv created with method multSimCsv from a directory and create LaF links to the stored csv files (LaF is a package that provides a fast access to data stored in csv files). The method returnes an object of class multSimCsv with the LaF links stored in element lafList.

Usage

loadMultSimCsv(x)

## S3 method for class 'multSimCsv'
loadMultSimCsv(x)

## S3 method for class 'character'
loadMultSimCsv(x)

Arguments

x

either an object of class multSimCsv or a character string indicating the filename of a stored multSimCsv object, e. g. "exampleModel_MultSimCsv.rda"

Value

object of class multSimCsv

Methods (by class)

  • loadMultSimCsv(multSimCsv): create laf-links for multSimCsv objects

  • loadMultSimCsv(character): load multSimCsv from rda file and create LaF links

Note

Opening the saved rda file directly with readRDS will lead to a multSimCsv object with lafList set to NULL. The links have to be created during run-time which is the reason why method loadMultSimCsv exists.

See Also

multSimCsv to create the csv files, vignette("LaF-manual") for an introduction of package LaF


CharlotteJana/pdmpsim documentation built on Oct. 21, 2024, 4:54 p.m.