inference_cs: inference_cs

View source: R/inference_cs.R

inference_csR Documentation

inference_cs

Description

Function for summarizing the multiverse results.

Usage

inference_cs(data, alpha_level = 0.05, na.rm = FALSE, framework = "Both")

Arguments

data

a data frame with the results of a multiverse analyses.

alpha_level

What should be the alpha level used (default to 0.05).

na.rm

Should NA's be removed (default to FALSE). See details.

framework

Inference framework. Values could be "NHST", "Bayesian", or "Both" (no case sensitivity)

Details

For now the function returns mean, median, standard deviations of p values and proportion of p values below a criterion defined by the alpha_level parameter (default to 0.05) as well as mean Bayes factors (please see the 'framework' argument). The user may choose to drop the NAs for the summary statistic.

Value

A data frame with summaries of the results.


multifear documentation built on Sept. 24, 2023, 1:06 a.m.