load_chains: Load a collection of stateline output files

Description Usage Arguments Value

Description

Load a collection of stateline output files

Usage

1
load_chains(path, nstacks = 4, merge = FALSE, ...)

Arguments

path

Directory where samples are saved

nstacks

Number of stacks to load

merge

Boolean indicating whether stacks should be merged into single data.frame

...

Arguments to chain. Including a vector sample\_names, a vector of names for samples being fitted in the model will give data with appropriate column names.

Value

Returns a list with elements stack\_1, stack\_2, each being a data.frame with named columns, or in the case where merge=TRUE a singel merged data.frame


traitecoevo/stateliner documentation built on May 31, 2019, 7:44 p.m.