toyModel | R Documentation |

The data is used to confirm that the algorithm are properly working.

```
toyModel(model = "dNMF", seeds=123)
```

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

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.

Koki Tsuyuzaki

`dNMF`

,`dSVD`

```
matdata <- toyModel(model = "dNMF", seeds=123)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.