Learn R Programming

TestDimorph (version 0.3.5)

multi_raw: multivariate data generation

Description

multivariate data generation helper function

Usage

multi_raw(x, format, complete_cases, dist, lower, upper)

Arguments

x

Tibble/Data frame or list containing summary statistics for multiple parameters measured in both sexes in two or more populations.

format

form of the resultant tibble either 'long' or 'wide', Default: 'wide'

complete_cases

Logical; if TRUE rows with missing values will be removed, Default: FALSE

dist

univariate distribution used for data generation either log for log normal or truncated for truncated, Default: 'truncated'

lower

vector of lower bounds, Default: -Inf

upper

vector of upper bounds, Default: Inf