Fourth4 {Kurt} | R Documentation |
Fourth4: fourth moment of a data matrix
Description
Returns a matrix containing the fourth moments.
Usage
Fourth4(data, type, shape)
Arguments
data |
data matrix |
type |
type=0 is the ordinary fourth moment, type=1 is the centered fourth moment, type=2 is the standardized fourh moment |
shape |
"square" or "rectangular" |
Value
M |
Fourth square moment matrix |
MM |
Fourth rectangular moment matrix |
Author(s)
Cinzia Franceschini and Nicola Loperfido
Examples
data(iris)
iris<-data.matrix(iris)#returns the matrix obtained by converting the data frame to numeric mode
Fourth4(iris[,1:4], 1,"square") #returns a matrix containing the fourth moments
[Package Kurt version 1.1 Index]