Description Usage Arguments Details Value Examples
View source: R/SampleMeanVector.R
Returns the mean vector of the given matrix.
1 |
x |
A Matrix, where each variable represents a column |
Given a matrix of data, an algorithm is employed to calculate the sample mean vector.
A vector of the sample means
1 2 3 | myMat = c(3,4,2,6,8,2,5, 5,5.5,4,7,10,5,7.5)
dim(myMat) = c(7,2) # Creates a 2x7 matrix
mySampleMeanVariable = SampleMeanVector(myMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.