lnm_data: Simulates data from a Logistic Normal Multinomial Model.
Description
Simulates data from a Logistic Normal Multinomial Model.
Usage
lnm_data(N = 100, D = 5, K = 10)
Value
A list with the following components:
- X
An N x D matrix of covariates.
- y
The N x K simulated samples.
- B
The D x K relationship between covariates and outputs.
Arguments
- N
The number of samples in the output data.
- D
The number of covariates, each of which can influence the response
composition vector (e.g., the timepoint or disease status).
- K
The number of output dimensions (e.g., number of taxa).