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


s3alfisc/rwolf documentation built on Jan. 30, 2024, 10:42 a.m.