toyModel {dcTensor} | R Documentation |
Toy model data for using dNMF, dSVD, dsiNMF, djNMF, dPLS, dNTF, and dNTD
Description
The data is used to confirm that the algorithm are properly working.
Usage
toyModel(model = "dNMF", seeds=123)
Arguments
model |
Single character string is specified. "dNMF", "dSVD", "dsiNMF_Easy", "dsiNMF_Hard", "dPLS_Easy", "dPLS_Hard", "dNTF", and "dNTD" are available (Default: "dNMF"). |
seeds |
Random number for setting set.seeds in the function (Default: 123). |
Value
If model is specified as "dNMF" or "dSVD" a matrix is generated. If model is specified as "dsiNMF_Easy", "dsiNMF_Hard", "dPLS_Easy", or "dPLS_Hard" three matrices are generated. Otherwise, a tensor is generated.
Author(s)
Koki Tsuyuzaki
See Also
Examples
matdata <- toyModel(model = "dNMF", seeds=123)
[Package dcTensor version 1.3.0 Index]