simBinMeans: Simulate a bin's mean from its non-zero cell proportion from...

Description Usage Arguments Value

View source: R/ExtraFunctions.R

Description

Simulate a bin's mean from its non-zero cell proportion from estimated second degree polynomial coefficients.

Usage

1
simBinMeans(x, c0, c1, c2)

Arguments

x

non-zero cell proportion of a bin.

c0

coefficient of x power 0.

c1

coefficient of x power 1.

c2

coefficient of x power 2.

Value

A dependent variable y, which is the simulated bin mean.


bowang-lab/simATAC documentation built on Jan. 28, 2021, 1:22 a.m.