Learn R Programming

RSDA (version 2.0.8)

sd: Generic function for the standard desviation

Description

Compute the symbolic standard desviation.

Usage

sd(x, ...)

# S3 method for default sd(x, na.rm = FALSE, ...)

# S3 method for sym.data.table sd(x, method = c("centers", "interval", "billard", "modal"), na.rm = FALSE, ...)

Arguments

x

A symbolic variable.

...

As in R sd function.

na.rm

As in R sd function.

method

The method to be use.

Value

return a real number.

References

Billard L. and Diday E. (2006). Symbolic data analysis: Conceptual statistics and data mining. Wiley, Chichester.

Rodriguez, O. (2000). Classification et Modeles Lineaires en Analyse des Donnees Symboliques. Ph.D. Thesis, Paris IX-Dauphine University.

Examples

Run this code
# NOT RUN {
data(example3)
sym.data<-example3
sd(sym.data[,1])
sd(sym.data[,2])
sd(sym.data[,6])
sd(sym.data[,6], method='interval')
sd(sym.data[,6], method='billard')
sd(sym.data[,3],method='modal')
# }

Run the code above in your browser using DataLab