collect_file_n_posteriors: Collect the number of posteriors in a parameter file

Description Usage Arguments Value Author(s) Examples

Description

Collect the number of posteriors in a parameter file

Usage

1

Arguments

filename

name of the file containing the parameters and results

Value

a data frame

Author(s)

Richel Bilderbeek

Examples

1
2
3
4
5
6
 filename <- find_path("toy_example_3.RDa")
 df <- collect_file_n_posteriors(filename)
 testit::assert(names(df) == c("n_posteriors"))
 testit::assert(ncol(df) == 1)
 testit::assert(nrow(df) == 1)
 testit::assert(df$n_posteriors[1] == 8)

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.