extract_sample {rbi}R Documentation

Extract a sample from a LibBi run.

Description

This function takes the provided libbi results and extracts a data frame.

Usage

extract_sample(x, np, ...)

Arguments

x

a libbi object which has been run, or a list of data frames containing parameter traces (as returned by from bi_read)

np

iteration to extract; if set to "last", the last sample will be extracted. If not given a random sample will be extracted

...

parameters to bi_read (e.g., dimensions)

Value

a list of data frames or numeric vectors containing parameters and trajectories


[Package rbi version 1.0.0 Index]