Learn R Programming

rsynthbio (version 4.0.1)

get_output_transformer: Get Output Transformer for Model (Internal)

Description

Looks up the appropriate output transformer for a given model ID. Returns the standard transformer as the default if no specific transformer is registered.

Usage

get_output_transformer(model_id)

Value

A transformer function that accepts (final_json) and returns a list with metadata, expression, and optionally latents

Arguments

model_id

Character string specifying the model ID