Learn R Programming

TestDimorph (version 0.4.0)

multi_raw: multivariate data generation

Description

multivariate data generation helper function

Usage

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

Arguments

x

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

format

form of the resultant data frame 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 distribution, Default: 'truncated'

lower

vector of lower bounds, Default: -Inf

upper

vector of upper bounds, Default: Inf