This function simulates a set of (x, y) pairs. The covariates x are compositional, meaning they only carry relative information. The response y is a binary indicator. The rule linking x and y can be a balance or an amalgamation.
simulateHTS(n, p, outputType = "binary", logratio = "simple")A list containing a matrix of inputs and a vector of outputs
Number of observations.
Number of covariates.
A string indicating 'binary' or 'continuous'.
A string indicating 'simple', 'balance', or 'amalgamation'.