kurtosis.folder: Kurtosis coefficients of a folder of data sets

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/kurtosis.folder.R

Description

Computes the kurtosis coefficient by column of the elements of an object of class folder.

Usage

1
kurtosis.folder(x, na.rm = FALSE, type = 3)

Arguments

x

an object of class folder.

na.rm

logical. Should missing values be omitted from the calculations? (see kurtosis)

type

an integer between 1 and 3 (see kurtosis).

Details

It uses kurtosis to compute the mean by numeric column of each element of the folder. If some columns of the data frames are not numeric, there is a warning, and the means are computed on the numeric columns only.

Value

A list whose elements are the kurtosis coefficients by column of the elements of the folder.

Author(s)

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard

See Also

folder to create an object is of class folder. mean.folder, var.folder, cor.folder, skewness.folder for other statistics for folder objects.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# First example: iris (Fisher)               
data(iris)
iris.fold <- as.folder(iris, "Species")
iris.kurtosis <- kurtosis.folder(iris.fold)
print(iris.kurtosis)

# Second example: roses
data(roses)
roses.fold <- as.folder(roses, "rose")
roses.kurtosis <- kurtosis.folder(roses.fold)
print(roses.kurtosis)

dad documentation built on March 16, 2021, 9:05 a.m.