simul {mbRes}R Documentation

Generate Hypothetical Samples

Description

simul yields a sample dataset of biomarker responses. This is used for the hypothetical case study.

Usage

simul(pop_mean, size = 75)

Arguments

pop_mean

a data frame, the first output of setpop.

size

an integer, the sample size.

Value

simul returns a list of length 3:

sam

sample dataset.

sam_long

sample dataset in long format.

sam_mean

sample means of biomarker responses.


[Package mbRes version 0.1.7 Index]