Skip to contents

Create table of RAM-OP results

Usage

report_op_table(estimates, filename = paste(tempdir(), "ramOP", sep = "/"))

Arguments

estimates

A data.frame of RAM-OP results produced by merge_estimates function.

filename

Prefix to append to report output filename. Can be specified as a path to a specific directory where to output tabular results CSV file. Defaults to a path to a temporary directory with a filename starting with ramOP.

Value

Report of tabulated estimated results saved in CSV format in current working directory or in the specified path

Author

Mark Myatt

Examples

  ##
  x <- estimate_classic(x = create_op_all(testSVY),
                        w = testPSU,
                        replicates = 9)
  y <- estimate_probit(x = create_op_all(testSVY),
                       w = testPSU,
                       replicates = 9)
  z <- merge_estimates(x, y, prop2percent = TRUE)
  report_op_table(z)