lnm_data {miniLNM} | R Documentation |
Simulates data from a Logistic Normal Multinomial Model.
lnm_data(N = 100, D = 5, K = 10)
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). |
A list with the following components:
An N x D matrix of covariates.
The N x K simulated samples.
The D x K relationship between covariates and outputs.
lnm_data(5, 3, 3)