plotsam: Visualize Hypothetical Samples

View source: R/plotsam.R

plotsamR Documentation

Visualize Hypothetical Samples

Description

plotsam plots the sample dataset of biomarker responses. This is used for the hypothetical case study.

Usage

plotsam(pop_mean_long, pop_profile, sam_long)

Arguments

pop_mean_long

a data frame, the second output of setpop.

pop_profile

a data frame, the third output of setpop.

sam_long

a data frame, the second output of simul.

Value

plotsam returns a ggplot object.

Examples

set.seed(1)
setting <- setpop()
temp <- simul(setting$pop_mean)
plotsam(setting$pop_mean_long, setting$pop_profile, temp$sam_long)


mbRes documentation built on March 31, 2023, 8:14 p.m.