fill_stat_and_mcse: Fill summary with the evaluated parameter 'stat' and its mcse...

Description Usage Arguments Value

View source: R/sumsim.R

Description

Fill summary with the evaluated parameter 'stat' and its mcse for a specific scen_no and method using the simsum object from the package rsimsum

Usage

1
fill_stat_and_mcse(summary, simsum, scen_no, stat, method)

Arguments

summary

the summary object initialised by init_summary()

simsum

a simsum object created by the package rsimsum for a specific scenario no.

scen_no

scenario no. of the scenario that's evaluated

stat

one of the parameters in eval_param_rsimsum()

method

the method that's evaluated, either "uncor" / "mecor" / "simex"

Value

this function will fill out the specific cells with 'stat' and its 'stat'_mcse in the summary object (for a given scen_no and method)


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