summarize_all_nof1: Function to present a summary of our results

Description Usage Arguments Value

View source: R/nof1gen.wrap.R

Description

A neat function to summarize the results when we run a simulation for each outcome

Usage

1
summarize_all_nof1(data_result_list, treatment_names, alpha = 0.025)

Arguments

data_result_list

A list of data files and result files. This is the output of wrap_all

treatment_names

The names of the different treatments in the trial.

alpha

The alpha value for the confidence interval. If no value is entered will give the 95% confidence interval.

Value

The function returns some useful information about the simulation. It returns the following for each outcome.

input_mean

The mean of the data inputed for each treatment type

input_median

The median of the data inputed for each treatment type

treat_mean

The mean of the data outputed for each treatment type

treat_median

The median of the data outputed for each treatment type

coef_mean

The mean of the data outputed for each coefficient

coef_median

The median of the data outputed for each coefficient

treat_greater_zero

The probability that the output value is greater than zero for each treatment type

coef_greater_zero

The probability that the output value is greater than zero for each coefficient

treat_confidence

The confidence interval of the input data set of the output value for each treatment type

coef_confidence

The confidence interval of the input data set of the output value for each coefficient


arisp99/nof1gen documentation built on May 19, 2019, 9:37 p.m.