Learn R Programming

fitur (version 0.6.2)

calc_moments: Calculate moments of a numeric vector

Description

Calculate moments of a numeric vector

Usage

calc_moments(x)

Arguments

x

a numeric vector

Value

a named vector of descriptive statistics

Examples

Run this code
# NOT RUN {
x <- rexp(1000, 2)
calc_moments(x)
# }

Run the code above in your browser using DataLab