getLNormFactors: Get log-normal factors

Description Usage Arguments Value

View source: R/splat-simulate.R

Description

Randomly generate multiplication factors from a log-normal distribution.

Usage

1
getLNormFactors(n.facs, sel.prob, neg.prob, fac.loc, fac.scale)

Arguments

n.facs

Number of factors to generate.

sel.prob

Probability that a factor will be selected to be different from 1.

neg.prob

Probability that a selected factor is less than one.

fac.loc

Location parameter for the log-normal distribution.

fac.scale

Scale factor for the log-normal distribution.

Value

Vector containing generated factors.


Oshlack/splatter documentation built on Sept. 3, 2018, 5:38 a.m.