make_output_long: Reshape the output of the simulation study to long format

Description Usage Arguments Value

View source: R/procoutput.R

Description

Reshape the output of the simulation study to long format

Usage

1
make_output_long(scen_no, output_dir = "./output/")

Arguments

scen_no

scenario no.

output_dir

directory where raw output files are to be found, defaults to "./output/". Here, files named 'scen_no#' should be located

Value

a data.frame with 6 columns: 'r_squared', 'method', 'effect', 'se', 'ci.lower' and 'ci.upper'. The number of rows is 3 times the number of replications used in the simulation study (number of replications is equal to the number of rows in the raw output)


LindaNab/simexvsmecor documentation built on Dec. 17, 2021, 1:09 a.m.