apollo_combineResults function

Write model results to file

Write model results to file

Writes results from various models to a single csv file.

apollo_combineResults(combineResults_settings = NULL)

Arguments

  • combineResults_settings: List. Contains settings for this function. User input is required for all settings except those with a default or marked as optional.

    • ‘estimateDigits’ : Numeric scalar. Number of decimal places to print for estimates. Default is 4.
    • ‘modelNames’ : Character vector. Optional names of models to combine. Omit or use an empty vector to combine results from all models in the working/output directory.
    • ‘pDigits’ : Numeric scalar. Number of decimal places to print for p-values. Default is 2.
    • ‘printClassical’ : Boolean. TRUE for printing classical standard errors. FALSE by default.
    • ‘printPVal’ : Boolean. TRUE for printing p-values. FALSE by default.
    • ‘printT1’ : Boolean. If TRUE, t-test for H0: apollo_beta=1 are printed. FALSE by default.
    • ‘sortByDate’ : Boolean. If TRUE, models are ordered by date. Default is TRUE.
    • ‘tDigits’ : Numeric scalar. Number of decimal places to print for t-ratios values. Default is 2.

Returns

Nothing, but writes a file called 'model_comparison_[date].csv' in the working/output directory.

  • Maintainer: Stephane Hess
  • License: GPL-2
  • Last published: 2025-03-12