Skip to contents

Generate an unstructured signal

Usage

gen.mu.noleaves(m, pi0, barmu)

Arguments

m

An integer value, the number of hypotheses

pi0

A numeric value in \([0,1]\), the proportion of true null signals

barmu

A numeric value, the strength of the signal

Value

A numeric vector of length m, the signal values for each hypothesis

Examples

m <- 100
pi0 <- 0.7
barmu <- 4
mu <- gen.mu.noleaves(m = m, pi0 = pi0, barmu = barmu) 
plot(mu)