Description Usage Arguments Details Value Author(s) Examples

View source: R/tensorCentering.R

Centers an array of array-valued observations by substracting a location array (the mean array by default) from each observation.

1 | ```
tensorCentering(x, location = NULL)
``` |

`x` |
Array of order at least two with the last dimension corresponding to the sampling units. |

`location` |
The location to be used in the centering. Either |

Centers a *p_1 x p_2 x ... x p_r x n*-dimensional array by substracting the *p_1 x p_2 x ... x p_r*-dimensional `location`

from each of the observed arrays.

Array of centered observations with the same dimensions as the input array. The used location is returned as attribute `"location"`

.

Joni Virta

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |

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.