report_op_table: Create table of RAM-OP results

View source: R/10-report.R

report_op_tableR Documentation

Create table of RAM-OP results

Description

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(s)

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)


rapidsurveys/oldr documentation built on April 15, 2024, 11:18 a.m.