get.s-methods: Method 'get.s': the standard deviation of a distribution

get.sR Documentation

Method get.s: the standard deviation of a distribution

Description

This functon return the standard deviation of a distributionH object.

Usage

get.s(object)

## S4 method for signature 'distributionH'
get.s(object)

Arguments

object

a distributionH object.

Value

A numeric positive value, the standard deviation.

Examples

D <- distributionH(x = c(1, 2, 3, 4), p = c(0, 0.2, 0.6, 1))
get.s(D) # returns the standard deviation of D

HistDAWass documentation built on Sept. 26, 2022, 5:06 p.m.