Learn R Programming

rTensor2 (version 2.0.0)

tmean: Find the mean of a tensor

Description

Find the mean of a 3-mode tensor.

Usage

tmean(tnsr)

Value

a Tensor-class object

Arguments

tnsr

: a 3-mode tensor

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Examples

Run this code
tnsr <- rand_tensor(modes=c(3,4,5))
tmean(tnsr)

Run the code above in your browser using DataLab