simple_sims: Create some simple simulated data for testing purposes

Description Usage Arguments Details Examples

View source: R/simulations.R

Description

Create some simple simulated data for testing purposes

Usage

1
simple_sims(nsamp = 100, ncond = 5, err_sd = 0.01)

Arguments

nsamp

number of samples of each type

ncond

number of conditions

err_sd

the standard deviation of the errors

Details

The simulation consists of equal numbers of four different types of effects: null, equal among conditions, present only in first condition, independent across conditions

Examples

1
simple_sims(100, 5)

mashr documentation built on May 24, 2021, 1:06 a.m.