Learn R Programming

mashr (version 0.2.79)

sim_contrast1: Create simplest simulation, cj = mu 1 data used for contrast analysis

Description

Create simplest simulation, cj = mu 1 data used for contrast analysis

Usage

sim_contrast1(nsamp = 100, ncond = 5, err_sd = sqrt(0.5))

Arguments

nsamp

number of samples of each type

ncond

number of conditions

err_sd

the standard deviation of the errors

Details

There is no true deviation exists in this case

Examples

Run this code
sim_contrast1(100,5)

Run the code above in your browser using DataLab