Learn R Programming

dcTensor (version 1.3.1)

toyModel: 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)

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.

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).

Author

Koki Tsuyuzaki

See Also

dNMF,dSVD

Examples

Run this code
matdata <- toyModel(model = "dNMF", seeds=123)

Run the code above in your browser using DataLab