read_collected_posterior_nltts: Read all the collected nLTT statistics of all posteriors

Description Usage Arguments Value Author(s) Examples

Description

Read all the collected nLTT statistics of all posteriors

Usage

1
2
3
4
read_collected_posterior_nltts(
    filename = wiritttea::find_path("collect_files_posterior_nltts.csv"),
    burn_in_fraction
  )

Arguments

filename

name of the file with all the collected posteriors' nLLTs

burn_in_fraction

the fraction of earliest values that is discarded

Value

a dataframe

Author(s)

Richel Bilderbeek

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  df <- wiritttea::read_collected_posterior_nltts(
    filename = wiritttea::find_path("collect_files_posterior_nltts.csv"),
    burn_in_fraction = 0.2
  )
  testit::assert(names(df) ==
    c(
      "filename", "sti", "ai",
      "pi", "si", "nltt"
    )
  )

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