Learn R Programming

batchLLM (version 0.2.0)

get_batches: Get Batches

Description

Get batches of generated output in a single data frame from the .rds log file.

Usage

get_batches(df_name = NULL, log_name = "batchLLM-log")

Value

A data frame containing the generated output.

Arguments

df_name

A string to match the name of a processed data frame.

log_name

A string specifying the name of the log without the .rds file extension. Default is "batchLLM-log".

Examples

Run this code
if (FALSE) {
library(batchLLM)

# Assuming you have a log file with data for "beliefs_40a3012b" (see batchLLM example)
batches <- get_batches("beliefs_40a3012b")
head(batches)

# Using a custom log file name
custom_batches <- get_batches("beliefs_40a3012b", log_name = "custom-log.rds")
head(custom_batches)
}

Run the code above in your browser using DataLab