fwer_sim: Simulate data as in Clarke, Romano & Wolf (2019) to simulate...

View source: R/rwolf_sim.R

fwer_simR Documentation

Simulate data as in Clarke, Romano & Wolf (2019) to simulate family wise error rates (FWERs)

Description

Simulate data as in Clarke, Romano & Wolf (2019) to simulate family wise error rates (FWERs)

Usage

fwer_sim(rho, N, s, B, G = 20)

Arguments

rho

The correlation between the outcome variables

N

The number of observations

s

The number of dependent variables

B

The number of bootstrap draws e

G

The number of clusters. If NULL, no clustering.

Value

A 'data.frame' containing unadjusted p-values & p-values adjusted using the methods by Holm and Romano & Wolf (2005), with the following columns


wildrwolf documentation built on March 7, 2023, 5:37 p.m.