Fourth4: Fourth4: fourth moment of a data matrix

Description Usage Arguments Value Author(s) Examples

View source: R/Fourth4.R

Description

Returns a matrix containing the fourth moments.

Usage

1
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

1
2
3
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

Kurt documentation built on Sept. 20, 2021, 5:17 p.m.