simbase_labeler: Default labelling function for simbase objects

View source: R/statistical_simulation.r

simbase_labelerR Documentation

Default labelling function for simbase objects

Description

Each simbase object should have a label which can be used for differentiating different simulations. This function tries to simplify the label generation.

Usage

simbase_labeler(data, simbase_class, transforms)

Arguments

data

The dataset for the calculation of the basic simulation data.

simbase_class

The class of the simbase object for which the label is to be generated. Currently, only "simbase_covar" is supported.

transforms

The transforms applied to variables in the dataset. Must be objects of class trans (see function trans_new in package scales).

Details

Primarily, this function is intended to be called as a default from simbase_covar. It can also serve as a template for creating custom labelling functions.

Value

A string for labelling a simbase object.


WoodSimulatR documentation built on June 20, 2022, 9:05 a.m.