tar_stan_rep_data_batch: Generate a batch of data

View source: R/utils_data.R

tar_stan_rep_data_batchR Documentation

Generate a batch of data

Description

Not a user-side function. Do not invoke directly.

Usage

tar_stan_rep_data_batch(reps, batch, command)

Arguments

reps

Positive integer of length 1, number of reps to run.

batch

Positive integer of length 1, index of the current batch.

command

R code to run to generate one dataset.

Value

A list of Stan datasets containing data and dataset IDs.

Examples

tar_stan_rep_data_batch(2, 1, tar_stan_example_data())

ropensci/stantargets documentation built on Feb. 8, 2025, 10:34 p.m.