gen.mu.noleaves: Generate an unstructured signal

View source: R/tree-simulation-functions.R

gen.mu.noleavesR Documentation

Generate an unstructured signal

Description

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)

pneuvial/sanssouci documentation built on Feb. 12, 2024, 4:18 a.m.