View Source ExStan.Fit (ExStan v0.1.1)
Stores draws from one or more chains.
Returned by methods of a Model
. Users will not instantiate this class directly.
A Fit
instance provides a user-friendly view of draws, accessible via the to_frame
method.
Summary
Functions
Creates a new Fit
struct, given the specified options.
It will validate the options and parse the draws from the Stan outputs.
Converts the draws from a Fit
struct into a data frame.
This function iterates over the draws and feature names individually, and will get slower as the number of draws/chains increases.
Functions
Creates a new Fit
struct, given the specified options.
It will validate the options and parse the draws from the Stan outputs.
Converts the draws from a Fit
struct into a data frame.
This function iterates over the draws and feature names individually, and will get slower as the number of draws/chains increases.
Parameters
%Fit{}
: AFit
struct containing the draws and feature names.
Returns
A DataFrame
object with the draws as rows and feature names with chain and sample indexes as columns.
Errors
- Raises an error if the
Explorer
module is not available.