initialize-methods | R Documentation |
Not designed to be called by the user. Use as.tensor
instead.
## S4 method for signature 'Tensor'
initialize(.Object, num_modes = NULL, modes = NULL,
data = NULL)
.Object |
the tensor object |
num_modes |
number of modes of the tensor |
modes |
modes of the tensor |
data |
can be vector, matrix, or array |
as.tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.