simulateData: simulate normal distributed data

Description Usage Arguments Value Author(s)

View source: R/simulateData.R

Description

Simulate normal distributed data.

Usage

1
simulateData(pi0,m,n, rho, seed = NULL, power = 0.8, alpha = 0.05)

Arguments

pi0

numeric value in '[0,1]'. Proportion of true null hypothesis.

m

numeric value. Number of variables.

n

numeric value. Number of observations.

rho

numeric value in '[0,1]'. Level of equi-correlation between pairs of variables.

seed

integer value. If you want to specify the seed. Default to @NULL

power

numeric value in '[0,1]'. Level of power. Default 0.8.

alpha

numeric value in '[0,1]'. It expresses the alpha level to control the family-wise error rate. Default 0.05.

Value

Returns a matrix with dimensions m \times n.

Author(s)

Angela Andreella


angeella/ARIpermutation documentation built on Nov. 25, 2021, 9:23 a.m.